提交 514ec49a 编写于 作者: H Hidetoshi Seto 提交者: Ingo Molnar

x86, mce: remove incorrect __cpuinit for intel_init_cmci()

Impact: Bug fix on UP

Referring commit cc3ca220,
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: NHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 0ca0f16f
...@@ -270,7 +270,7 @@ void cmci_reenable(void) ...@@ -270,7 +270,7 @@ void cmci_reenable(void)
cmci_discover(banks, 0); cmci_discover(banks, 0);
} }
static __cpuinit void intel_init_cmci(void) static void intel_init_cmci(void)
{ {
int banks; int banks;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册