• Ingo Molnar's avatar
    x86/fpu: Remove xsave_init() __init obfuscation · c0841e34
    Ingo Molnar authored
    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: default avatarBorislav 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: default avatarIngo Molnar <mingo@kernel.org>
    c0841e34
xsave.c 18.5 KB