• Ingo Molnar's avatar
    x86/fpu: Clean up eager_fpu_init() and rename it to fpu__ctx_switch_init() · 064e51e3
    Ingo Molnar authored
    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: 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>
    064e51e3
init.c 5.42 KB