]> git.karo-electronics.de Git - linux-beck.git/commit
x86/fpu: Remove xsave_init() __init obfuscation
authorIngo Molnar <mingo@kernel.org>
Fri, 24 Apr 2015 01:18:28 +0000 (03:18 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:31 +0000 (15:47 +0200)
commitc0841e34fd9bbcef58c537151de8c83d2c910099
tree08c2c37895c498695d3c6feca98111b6ee4acc34
parentdf6397525cbe096d0eab0c1530fd25429d26f11b
x86/fpu: Remove xsave_init() __init obfuscation

So this code surprised me - and being surprised when reading FPU code
does not help maintainability of an already overly complex subsystem.

Remove the obfuscation and just don't use __init annotation for now.
Anyone who wants to free these ~600 bytes of xstate_enable_boot_cpu()
should implement it cleanly.

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/xsave.c