x86/fpu: Make kernel_fpu_disable/enable() static
authorIngo Molnar <mingo@kernel.org>
Wed, 22 Apr 2015 14:33:08 +0000 (16:33 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:47:20 +0000 (15:47 +0200)
commit416d49ac67ae3af8c98ecee2ebe0a883b95e213a
tree2efb7f149c6ea7a9a1eac4bbcd63f380a41ca2f9
parentf55f88e25e9b5232054a82d47de7aaf67179b78b
x86/fpu: Make kernel_fpu_disable/enable() static

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: 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/include/asm/i387.h
arch/x86/kernel/fpu/core.c