]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9884810a7097ccb660153858dedacdfdb86bf9f7
treedd9e8203b13d4227c175d752487c006ec8e969c3
parentd5e4a57cc838b297d82e5a2f91ae3be6ec7de8c3
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