mirror of
https://github.com/adulau/aha.git
synced 2025-01-03 22:53:18 +00:00
x86: move select_idle_routine() call after detect_ht()
Move the select_idle_routine() call to after the detect_ht() call at identify_cpu() on 64-bit. This change is for printing the polling idle and HT enabled warning message properly. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
27415a4fe3
commit
74ff305b05
1 changed files with 2 additions and 1 deletions
|
@ -999,7 +999,6 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
select_idle_routine(c);
|
|
||||||
detect_ht(c);
|
detect_ht(c);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1017,6 +1016,8 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
|
||||||
#ifdef CONFIG_X86_MCE
|
#ifdef CONFIG_X86_MCE
|
||||||
mcheck_init(c);
|
mcheck_init(c);
|
||||||
#endif
|
#endif
|
||||||
|
select_idle_routine(c);
|
||||||
|
|
||||||
if (c != &boot_cpu_data)
|
if (c != &boot_cpu_data)
|
||||||
mtrr_ap_init();
|
mtrr_ap_init();
|
||||||
#ifdef CONFIG_NUMA
|
#ifdef CONFIG_NUMA
|
||||||
|
|
Loading…
Reference in a new issue