aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/process_64.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-06-09 18:04:27 +0200
committerIngo Molnar <mingo@elte.hu>2008-06-10 15:52:21 +0200
commit09fd4b4ef5bc7e5222c13acec1bee8cd252fb63f (patch)
treef23eec885a8506c2f84987ac443db618fb58aa27 /arch/x86/kernel/process_64.c
parentx86: use cpuinfo to check for interrupt pending message msr (diff)
downloadlinux-dev-09fd4b4ef5bc7e5222c13acec1bee8cd252fb63f.tar.xz
linux-dev-09fd4b4ef5bc7e5222c13acec1bee8cd252fb63f.zip
x86: use cpuid to check MWAIT support for C1
cpuid(0x05) provides extended information about MWAIT in EDX when bit 0 of ECX is set. Bit 4-7 of EDX determine whether MWAIT is supported for C1. C1E enabled CPUs have these bits set to 0. Based on an earlier patch from Andi Kleen. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/process_64.c')
0 files changed, 0 insertions, 0 deletions