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:
Roland McGrath
2008-01-30 13:31:55 +01:00
committed by Ingo Molnar
parent 5a4646a4ef
commit 60b3b9af35
7 changed files with 9 additions and 232 deletions

View File

@@ -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;
}