summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/mwait.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2013-02-02 06:35:35 +0400
committerLen Brown <len.brown@intel.com>2013-02-09 04:28:10 +0400
commit137ecc779c80138723677209730738d76262e810 (patch)
tree3d5f17e3199e39a60ba0a742de798b288b19d6c1 /arch/x86/include/asm/mwait.h
parent679204183472af16e8e75d2b1479459ad19bc67c (diff)
downloadlinux-137ecc779c80138723677209730738d76262e810.tar.xz
intel_idle: remove use and definition of MWAIT_MAX_NUM_CSTATES
Cosmetic only. Replace use of MWAIT_MAX_NUM_CSTATES with CPUIDLE_STATE_MAX. They are both 8, so this patch has no functional change. The reason to change is that intel_idle will soon be able to export more than the 8 "major" states supported by MWAIT. When we hit that limit, it is important to know where the limit comes from. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/x86/include/asm/mwait.h')
-rw-r--r--arch/x86/include/asm/mwait.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mwait.h b/arch/x86/include/asm/mwait.h
index bcdff997668c..3f447320ce87 100644
--- a/arch/x86/include/asm/mwait.h
+++ b/arch/x86/include/asm/mwait.h
@@ -4,7 +4,6 @@
#define MWAIT_SUBSTATE_MASK 0xf
#define MWAIT_CSTATE_MASK 0xf
#define MWAIT_SUBSTATE_SIZE 4
-#define MWAIT_MAX_NUM_CSTATES 8
#define CPUID_MWAIT_LEAF 5
#define CPUID5_ECX_EXTENSIONS_SUPPORTED 0x1