summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorIngo Molnar2015-05-04 09:43:55 +0200
committerIngo Molnar2015-05-19 15:48:11 +0200
commit5fd402dfa7fc97f8e8d74c92d24abadbdc4002ca (patch)
tree9f6195b20f94d09e05f8c0c0713ee3f8b288b23a /arch/x86/include/asm
parentx86/fpu: Clean up xstate feature reservation (diff)
downloadkernel-qcow2-linux-5fd402dfa7fc97f8e8d74c92d24abadbdc4002ca.tar.gz
kernel-qcow2-linux-5fd402dfa7fc97f8e8d74c92d24abadbdc4002ca.tar.xz
kernel-qcow2-linux-5fd402dfa7fc97f8e8d74c92d24abadbdc4002ca.zip
x86/fpu/xstate: Clean up setup_xstate_comp() call
So call setup_xstate_comp() from the xstate init code, not from the generic fpu__init_system() code. This allows us to remove the protytype from xstate.h as well. Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> 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/include/asm')
-rw-r--r--arch/x86/include/asm/fpu/xstate.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fpu/xstate.h b/arch/x86/include/asm/fpu/xstate.h
index a6181b9ebf42..8f336d2ae126 100644
--- a/arch/x86/include/asm/fpu/xstate.h
+++ b/arch/x86/include/asm/fpu/xstate.h
@@ -227,6 +227,5 @@ static inline int copy_user_to_xregs(struct xregs_state __user *buf, u64 mask)
}
void *get_xsave_addr(struct xregs_state *xsave, int xstate);
-void setup_xstate_comp(void);
#endif