x86/fpu: Remove fpu_xsave()
authorIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2015 13:14:44 +0000 (15:14 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:19 +0000 (15:47 +0200)
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>
arch/x86/include/asm/fpu-internal.h
arch/x86/include/asm/xsave.h
arch/x86/mm/mpx.c

index b1f5dd6..95e04cb 100644 (file)
@@ -265,7 +265,7 @@ static inline void fpu_fxsave(struct fpu *fpu)
 static inline int fpu_save_init(struct fpu *fpu)
 {
        if (use_xsave()) {
-               fpu_xsave(fpu);
+               xsave_state(&fpu->state->xsave);
 
                /*
                 * xsave header may indicate the init state of the FP.
Simple merge
Simple merge