diff options
Diffstat (limited to 'arch/x86/math-emu/fpu_entry.c')
-rw-r--r-- | arch/x86/math-emu/fpu_entry.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/x86/math-emu/fpu_entry.c b/arch/x86/math-emu/fpu_entry.c index cfbdaa1532ce..760baeea5f07 100644 --- a/arch/x86/math-emu/fpu_entry.c +++ b/arch/x86/math-emu/fpu_entry.c | |||
@@ -761,17 +761,3 @@ int fpregs_soft_get(struct task_struct *target, | |||
761 | 761 | ||
762 | return ret; | 762 | return ret; |
763 | } | 763 | } |
764 | |||
765 | int save_i387_soft(void *s387, struct _fpstate __user *buf) | ||
766 | { | ||
767 | return fpregs_soft_get(current, NULL, | ||
768 | 0, sizeof(struct user_i387_struct), | ||
769 | NULL, buf) ? -1 : 1; | ||
770 | } | ||
771 | |||
772 | int restore_i387_soft(void *s387, struct _fpstate __user *buf) | ||
773 | { | ||
774 | return fpregs_soft_set(current, NULL, | ||
775 | 0, sizeof(struct user_i387_struct), | ||
776 | NULL, buf) ? -1 : 1; | ||
777 | } | ||