x86: move MWAIT idle check to generic CPU initialization on 32-bit
authorAndi Kleen <ak@suse.de>
Wed, 30 Jan 2008 12:33:16 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:16 +0000 (13:33 +0100)
commit30d432dfab2bcfd021d352e2058fae6b9405caeb
treedd9e8203b13d4227c175d752487c006ec8e969c3
parentf6e8e28410c017adb273983057023a17a8791ad3
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>
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/intel.c