diff options
author | Andi Kleen <ak@suse.de> | 2008-01-30 07:33:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:16 -0500 |
commit | 30d432dfab2bcfd021d352e2058fae6b9405caeb (patch) | |
tree | dd9e8203b13d4227c175d752487c006ec8e969c3 /arch/x86/kernel/cpu/common.c | |
parent | f6e8e28410c017adb273983057023a17a8791ad3 (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/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index ed05c7a0ca9b..4bd326d0322c 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -499,6 +499,8 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c) | |||
499 | 499 | ||
500 | /* Init Machine Check Exception if available. */ | 500 | /* Init Machine Check Exception if available. */ |
501 | mcheck_init(c); | 501 | mcheck_init(c); |
502 | |||
503 | select_idle_routine(c); | ||
502 | } | 504 | } |
503 | 505 | ||
504 | void __init identify_boot_cpu(void) | 506 | void __init identify_boot_cpu(void) |