summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/mpx.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-04-22 15:14:44 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-19 15:47:19 +0200
commit0afc4a941c0e7b8f6f619fe576f7c5ddbe78d304 (patch)
tree12cd888a58a5a2d078ee2d7985547c898d557331 /arch/x86/mm/mpx.c
parentx86/fpu: Simplify the xsave_state*() methods (diff)
downloadlinux-0afc4a941c0e7b8f6f619fe576f7c5ddbe78d304.tar.xz
linux-0afc4a941c0e7b8f6f619fe576f7c5ddbe78d304.zip
x86/fpu: Remove fpu_xsave()
It's a pointless wrapper now - use xsave_state(). 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/mm/mpx.c')
-rw-r--r--arch/x86/mm/mpx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/mpx.c b/arch/x86/mm/mpx.c
index 37ad432e7f16..412b5f81e547 100644
--- a/arch/x86/mm/mpx.c
+++ b/arch/x86/mm/mpx.c
@@ -389,7 +389,7 @@ int mpx_enable_management(struct task_struct *tsk)
* directory into XSAVE/XRSTOR Save Area and enable MPX through
* XRSTOR instruction.
*
- * fpu_xsave() is expected to be very expensive. Storing the bounds
+ * xsave_state() is expected to be very expensive. Storing the bounds
* directory here means that we do not have to do xsave in the unmap
* path; we can just use mm->bd_addr instead.
*/