intel_idle: remove use and definition of MWAIT_MAX_NUM_CSTATES
authorLen Brown <len.brown@intel.com>
Sat, 2 Feb 2013 02:35:35 +0000 (21:35 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 9 Feb 2013 00:28:10 +0000 (19:28 -0500)
commit137ecc779c80138723677209730738d76262e810
tree3d5f17e3199e39a60ba0a742de798b288b19d6c1
parent679204183472af16e8e75d2b1479459ad19bc67c
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>
arch/x86/include/asm/mwait.h
drivers/idle/intel_idle.c