summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/fpu/bugs.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-05-04 09:52:42 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-19 15:48:11 +0200
commit32231879f66162352fc6f3041c5c2b1d965879b2 (patch)
treecd32f9cc631c43b015560a2e65ecbc3b605eb5d5 /arch/x86/kernel/fpu/bugs.c
parentx86/fpu/xstate: Clean up setup_xstate_comp() call (diff)
downloadlinux-32231879f66162352fc6f3041c5c2b1d965879b2.tar.xz
linux-32231879f66162352fc6f3041c5c2b1d965879b2.zip
x86/fpu/init: Propagate __init annotations
Now that all the FPU init function call dependencies are cleaned up we can propagate __init annotations deeper. This shrinks the runtime size of the kernel a bit, and also addresses a few section warnings. Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> 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>
Diffstat (limited to 'arch/x86/kernel/fpu/bugs.c')
-rw-r--r--arch/x86/kernel/fpu/bugs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/fpu/bugs.c b/arch/x86/kernel/fpu/bugs.c
index 449b5f3f4925..dd9ca9b60ff3 100644
--- a/arch/x86/kernel/fpu/bugs.c
+++ b/arch/x86/kernel/fpu/bugs.c
@@ -60,7 +60,7 @@ static void __init check_fpu(void)
}
}
-void fpu__init_check_bugs(void)
+void __init fpu__init_check_bugs(void)
{
/*
* kernel_fpu_begin/end() in check_fpu() relies on the patched