aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/intel.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-01-30 07:33:16 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:16 -0500
commit30d432dfab2bcfd021d352e2058fae6b9405caeb (patch)
treedd9e8203b13d4227c175d752487c006ec8e969c3 /arch/x86/kernel/cpu/intel.c
parentf6e8e28410c017adb273983057023a17a8791ad3 (diff)
x86: move MWAIT idle check to generic CPU initialization on 32-bit
Previously it was only run for Intel CPUs, but AMD Fam10h implements MWAIT too. This matches 64bit behaviour. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/cpu/intel.c')
-rw-r--r--arch/x86/kernel/cpu/intel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c
index f1136115279a..d1c372b018db 100644
--- a/arch/x86/kernel/cpu/intel.c
+++ b/arch/x86/kernel/cpu/intel.c
@@ -137,7 +137,6 @@ static void __cpuinit init_intel(struct cpuinfo_x86 *c)
137 } 137 }
138#endif 138#endif
139 139
140 select_idle_routine(c);
141 l2 = init_intel_cacheinfo(c); 140 l2 = init_intel_cacheinfo(c);
142 if (c->cpuid_level > 9 ) { 141 if (c->cpuid_level > 9 ) {
143 unsigned eax = cpuid_eax(10); 142 unsigned eax = cpuid_eax(10);