From: Thomas Gleixner Date: Mon, 9 Jun 2008 16:04:27 +0000 (+0200) Subject: x86: use cpuid to check MWAIT support for C1 X-Git-Tag: v2.6.27-rc1~1106^2~251^8~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09fd4b4ef5bc7e5222c13acec1bee8cd252fb63f;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed