summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/signal.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-04-23 17:34:20 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-19 15:47:26 +0200
commitaf2d94fddcf41e879908b35a8a5308fb94e989c5 (patch)
tree903b84bbf46b3720b5e51505baa4bbb40e1fee2b /arch/x86/kernel/signal.c
parentx86/fpu: Use 'struct fpu' in restore_fpu_checking() (diff)
downloadlinux-af2d94fddcf41e879908b35a8a5308fb94e989c5.tar.xz
linux-af2d94fddcf41e879908b35a8a5308fb94e989c5.zip
x86/fpu: Use 'struct fpu' in fpu_reset_state()
Migrate this function to pure 'struct fpu' usage. Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/signal.c')
-rw-r--r--arch/x86/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c
index 20a9d355af59..bcb853e44d30 100644
--- a/arch/x86/kernel/signal.c
+++ b/arch/x86/kernel/signal.c
@@ -667,7 +667,7 @@ handle_signal(struct ksignal *ksig, struct pt_regs *regs)
* Ensure the signal handler starts with the new fpu state.
*/
if (fpu->fpstate_active)
- fpu_reset_state(current);
+ fpu_reset_state(fpu);
}
signal_setup_done(failed, ksig, stepping);
}