• Ingo Molnar's avatar
    x86/fpu: Rename fpu_init() to fpu__cpu_init() · 3a9c4b0d
    Ingo Molnar authored
    fpu_init() is a bit of a misnomer in that it (falsely) creates the
    impression that it's related to the (old) fpu_finit() function,
    which initializes FPU ctx state.
    
    Rename it to fpu__cpu_init() to make its boot time initialization
    clear, and to move it to the fpu__*() namespace.
    
    Also fix and extend its comment block to point out that it's
    called not only on the boot CPU, but on secondary CPUs as well.
    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>
    3a9c4b0d
fpu-internal.h 15.6 KB