[MIPS] FPU ownership management & preemption fixes
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
このコミットが含まれているのは:
@@ -51,7 +51,7 @@ void fpu_emulator_init_fpu(void)
|
||||
* with appropriate macros from uaccess.h
|
||||
*/
|
||||
|
||||
int fpu_emulator_save_context(struct sigcontext *sc)
|
||||
int fpu_emulator_save_context(struct sigcontext __user *sc)
|
||||
{
|
||||
int i;
|
||||
int err = 0;
|
||||
@@ -65,7 +65,7 @@ int fpu_emulator_save_context(struct sigcontext *sc)
|
||||
return err;
|
||||
}
|
||||
|
||||
int fpu_emulator_restore_context(struct sigcontext *sc)
|
||||
int fpu_emulator_restore_context(struct sigcontext __user *sc)
|
||||
{
|
||||
int i;
|
||||
int err = 0;
|
||||
@@ -84,7 +84,7 @@ int fpu_emulator_restore_context(struct sigcontext *sc)
|
||||
* This is the o32 version
|
||||
*/
|
||||
|
||||
int fpu_emulator_save_context32(struct sigcontext32 *sc)
|
||||
int fpu_emulator_save_context32(struct sigcontext32 __user *sc)
|
||||
{
|
||||
int i;
|
||||
int err = 0;
|
||||
@@ -98,7 +98,7 @@ int fpu_emulator_save_context32(struct sigcontext32 *sc)
|
||||
return err;
|
||||
}
|
||||
|
||||
int fpu_emulator_restore_context32(struct sigcontext32 *sc)
|
||||
int fpu_emulator_restore_context32(struct sigcontext32 __user *sc)
|
||||
{
|
||||
int i;
|
||||
int err = 0;
|
||||
|
新しいイシューから参照
ユーザーをブロックする