[PATCH] init call cleanup
Trival patch for CPU hotplug. In CPU identify part, only did cleaup for intel CPUs. Need do for other CPUs if they support S3 SMP. Signed-off-by: Li Shaohua<shaohua.li@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
d720803a93
commit
0bb3184df5
@@ -260,7 +260,7 @@ static void mwait_idle(void)
|
||||
}
|
||||
}
|
||||
|
||||
void __init select_idle_routine(const struct cpuinfo_x86 *c)
|
||||
void __devinit select_idle_routine(const struct cpuinfo_x86 *c)
|
||||
{
|
||||
if (cpu_has(c, X86_FEATURE_MWAIT)) {
|
||||
printk("monitor/mwait feature present.\n");
|
||||
|
Reference in New Issue
Block a user