x86: x86 user_regset cleanup
This removes a bunch of dead code that is no longer needed now that the user_regset interfaces are being used for all these jobs. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:

committed by
Ingo Molnar

parent
5a4646a4ef
commit
60b3b9af35
@@ -761,17 +761,3 @@ int fpregs_soft_get(struct task_struct *target,
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
int save_i387_soft(void *s387, struct _fpstate __user *buf)
|
||||
{
|
||||
return fpregs_soft_get(current, NULL,
|
||||
0, sizeof(struct user_i387_struct),
|
||||
NULL, buf) ? -1 : 1;
|
||||
}
|
||||
|
||||
int restore_i387_soft(void *s387, struct _fpstate __user *buf)
|
||||
{
|
||||
return fpregs_soft_set(current, NULL,
|
||||
0, sizeof(struct user_i387_struct),
|
||||
NULL, buf) ? -1 : 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user