x86/fpu: Clean up eager_fpu_init() and rename it to fpu__ctx_switch_init()
authorIngo Molnar <mingo@kernel.org>
Sat, 25 Apr 2015 06:48:54 +0000 (08:48 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:42 +0000 (15:47 +0200)
commit064e51e3c8aee6cfb03ab75e9f9551db3924eb07
treea556d8fba3f4187e9f0306d22bdb8e78cd7ca3dc
parent6f5d265afffb5968e25a8951a085c0467558c073
x86/fpu: Clean up eager_fpu_init() and rename it to fpu__ctx_switch_init()

It's not an xsave specific function anymore, so rename it accordingly
and also clean it up a bit:

 - remove the obsolete __init_refok, as the code paths are not
   mixed anymore

 - rename it from eager_fpu_init() to fpu__ctx_switch_init()

 - remove stray 'return;'

 - make it static to its only user

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/kernel/fpu/init.c