aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-01-30 07:33:18 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:18 -0500
commit74ff305b05b0974b30022a48145075e6d9a7fb2b (patch)
tree44eee8f01be71f480cc6383f30cd217a6fdb34e6 /arch/x86/kernel/setup_64.c
parent27415a4fe369e07a1393ae52c8ed8e48aabed5a9 (diff)
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>
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index 08e85b79e702..7edb43f0b279 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -999,7 +999,6 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
999 break; 999 break;
1000 } 1000 }
1001 1001
1002 select_idle_routine(c);
1003 detect_ht(c); 1002 detect_ht(c);
1004 1003
1005 /* 1004 /*
@@ -1017,6 +1016,8 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
1017#ifdef CONFIG_X86_MCE 1016#ifdef CONFIG_X86_MCE
1018 mcheck_init(c); 1017 mcheck_init(c);
1019#endif 1018#endif
1019 select_idle_routine(c);
1020
1020 if (c != &boot_cpu_data) 1021 if (c != &boot_cpu_data)
1021 mtrr_ap_init(); 1022 mtrr_ap_init();
1022#ifdef CONFIG_NUMA 1023#ifdef CONFIG_NUMA