• Ingo Molnar's avatar
    x86/fpu: Make kernel_fpu_disable/enable() static · 416d49ac
    Ingo Molnar authored
    This allows the compiler to inline them and to eliminate them:
    
       arch/x86/kernel/fpu/core.o:
    
       text    data     bss     dec     hex filename
       6741       4       8    6753    1a61 core.o.before
       6716       4       8    6728    1a48 core.o.after
    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>
    416d49ac
core.c 15.5 KB