Skip to content

Commit

Permalink
x86, mce: remove incorrect __cpuinit for intel_init_cmci()
Browse files Browse the repository at this point in the history
Impact: Bug fix on UP

Referring commit cc3ca22,
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>
  • Loading branch information
Hidetoshi Seto authored and Ingo Molnar committed Mar 16, 2009
1 parent 0ca0f16 commit 514ec49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/cpu/mcheck/mce_intel_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 514ec49

Please sign in to comment.