summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/xsave.c
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2008-11-20 14:12:50 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-20 16:43:42 +0100
commitbfe085f62f98a49e1b864e4950389c7205174e4f (patch)
tree79c355c414dd9c0c852cbd36fab4c3f308348e4b /arch/x86/kernel/xsave.c
parentx86: fix __cpuinit/__init tangle in init_thread_xstate() (diff)
downloadlinux-bfe085f62f98a49e1b864e4950389c7205174e4f.tar.xz
linux-bfe085f62f98a49e1b864e4950389c7205174e4f.zip
x86: fixing __cpuinit/__init tangle, xsave_cntxt_init()
Annotate xsave_cntxt_init() as "can be called outside of __init". Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/xsave.c')
-rw-r--r--arch/x86/kernel/xsave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/xsave.c b/arch/x86/kernel/xsave.c
index b13acb75e822..15c3e6999182 100644
--- a/arch/x86/kernel/xsave.c
+++ b/arch/x86/kernel/xsave.c
@@ -310,7 +310,7 @@ static void __init setup_xstate_init(void)
/*
* Enable and initialize the xsave feature.
*/
-void __init xsave_cntxt_init(void)
+void __ref xsave_cntxt_init(void)
{
unsigned int eax, ebx, ecx, edx;