diff options
| author | Ingo Molnar <mingo@kernel.org> | 2015-05-04 09:43:55 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2015-05-19 15:48:11 +0200 |
| commit | 5fd402dfa7fc97f8e8d74c92d24abadbdc4002ca (patch) | |
| tree | 9f6195b20f94d09e05f8c0c0713ee3f8b288b23a /arch/x86/kernel/fpu/init.c | |
| parent | 489e9c018854158722eb7123f9efefe67af5c4bd (diff) | |
| download | linux-5fd402dfa7fc97f8e8d74c92d24abadbdc4002ca.tar.gz linux-5fd402dfa7fc97f8e8d74c92d24abadbdc4002ca.tar.bz2 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/kernel/fpu/init.c')
| -rw-r--r-- | arch/x86/kernel/fpu/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/fpu/init.c b/arch/x86/kernel/fpu/init.c index 504370662899..889025217407 100644 --- a/arch/x86/kernel/fpu/init.c +++ b/arch/x86/kernel/fpu/init.c @@ -262,7 +262,6 @@ void fpu__init_system(struct cpuinfo_x86 *c) fpu__init_system_generic(); fpu__init_system_xstate_size_legacy(); fpu__init_system_xstate(); - setup_xstate_comp(); fpu__init_system_ctx_switch(); } |
