]> git.baikalelectronics.ru Git - kernel.git/commit
x86, fpu: remove unnecessary user_fpu_end() in save_xstate_sig()
authorSuresh Siddha <suresh.b.siddha@intel.com>
Fri, 24 Aug 2012 21:12:58 +0000 (14:12 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 18 Sep 2012 22:52:06 +0000 (15:52 -0700)
commit052a2b2a1a4ffc80c4fa81c721eb639a87537130
tree70383dba942fafd2862eca6a223a41e78544dec2
parente8df6d638716206c33be363947c92b10a349d532
x86, fpu: remove unnecessary user_fpu_end() in save_xstate_sig()

Few lines below we do drop_fpu() which is more safer. Remove the
unnecessary user_fpu_end() in save_xstate_sig(), which allows
the drop_fpu() to ignore any pending exceptions from the user-space
and drop the current fpu.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/1345842782-24175-3-git-send-email-suresh.b.siddha@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/fpu-internal.h
arch/x86/kernel/xsave.c