x86, mce: remove incorrect __cpuinit for intel_init_cmci()
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Mon, 16 Mar 2009 08:07:33 +0000 (17:07 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 16 Mar 2009 08:15:32 +0000 (09:15 +0100)
Impact: Bug fix on UP

Referring commit cc3ca22063784076bd240fda87217387a8f2ae92,
Peter removed __cpuinit annotations for mce_cpu_features()
and its successor functions, which caused troubles on UP
configurations.

However the intel_init_cmci() was introduced after that and
it also has __cpuinit annotation even though it is called from
mce_cpu_features(). Remove the annotation from that function
too.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/mce_intel_64.c

index aaa7d97309387d5e99aa63cfa5e7b9e6ea3131e1..57df3d383470bb158a7d64bccb7948d45ec9e4ac 100644 (file)
@@ -270,7 +270,7 @@ void cmci_reenable(void)
                cmci_discover(banks, 0);
 }
 
-static __cpuinit void intel_init_cmci(void)
+static void intel_init_cmci(void)
 {
        int banks;