summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorHiroshi Shimamoto2008-01-30 13:33:18 +0100
committerIngo Molnar2008-01-30 13:33:18 +0100
commit74ff305b05b0974b30022a48145075e6d9a7fb2b (patch)
tree44eee8f01be71f480cc6383f30cd217a6fdb34e6 /arch/x86/kernel/setup_64.c
parentx86: move warning message of polling idle and HT enabled (diff)
downloadkernel-qcow2-linux-74ff305b05b0974b30022a48145075e6d9a7fb2b.tar.gz
kernel-qcow2-linux-74ff305b05b0974b30022a48145075e6d9a7fb2b.tar.xz
kernel-qcow2-linux-74ff305b05b0974b30022a48145075e6d9a7fb2b.zip
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)
break;
}
- select_idle_routine(c);
detect_ht(c);
/*
@@ -1017,6 +1016,8 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
#ifdef CONFIG_X86_MCE
mcheck_init(c);
#endif
+ select_idle_routine(c);
+
if (c != &boot_cpu_data)
mtrr_ap_init();
#ifdef CONFIG_NUMA