Skip to content

Commit

Permalink
x86: fixing __cpuinit/__init tangle, xsave_cntxt_init()
Browse files Browse the repository at this point in the history
Annotate xsave_cntxt_init() as "can be called outside of __init".

Signed-off-by: Rakib Mullick <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
rmullick authored and Ingo Molnar committed Nov 20, 2008
1 parent 9bc646f commit bfe085f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/xsave.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit bfe085f

Please sign in to comment.