diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-04-24 12:17:57 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-19 15:47:44 +0200 |
commit | 7202ab46f7392265c1ecbf03f600393bf32a8bdf (patch) | |
tree | d9f2e8de48bd0ddd1443446cc90fdde6f2eed685 /arch/x86 | |
parent | x86/fpu: Do system-wide setup from fpu__detect() (diff) | |
download | linux-7202ab46f7392265c1ecbf03f600393bf32a8bdf.tar.xz linux-7202ab46f7392265c1ecbf03f600393bf32a8bdf.zip |
x86/fpu: Remove fpu__init_cpu_ctx_switch() call from fpu__init_system()
We are now doing the fpu__init_cpu_ctx_switch() call from fpu__init_cpu(),
so there's no need to call it from fpu__init_system() anymore.
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')
-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 6e422cf1e197..0c9c1069fba8 100644 --- a/arch/x86/kernel/fpu/init.c +++ b/arch/x86/kernel/fpu/init.c @@ -239,7 +239,6 @@ void fpu__init_system(void) fpu__init_system_xstate(); fpu__init_system_ctx_switch(); - fpu__init_cpu_ctx_switch(); } void fpu__cpu_init(void) |