2008-11-20 13:13:01

by Rakib Mullick

[permalink] [raw]
Subject: [PATCH 2/2] x86: Fixing __cpuinit/__init tangle.

Signed-off-by: Rakib Mullick <[email protected]>

--- linux-2.6-orig/arch/x86/kernel/xsave.c 2008-11-17 20:30:12.000000000 +0600
+++ linux-2.6/arch/x86/kernel/xsave.c 2008-11-19 05:48:35.000000000 +0600
@@ -310,7 +310,7 @@ static void __init setup_xstate_init(voi
/*
* Enable and initialize the xsave feature.
*/
-void __init xsave_cntxt_init(void)
+void __ref xsave_cntxt_init(void)
{
unsigned int eax, ebx, ecx, edx;