summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-01-12 02:56:15 -0500
committerLen Brown <len.brown@intel.com>2011-01-12 12:47:34 -0500
commit5392083748a340f68052c0b83a7ce28b10324972 (patch)
tree54f7691e31d3b77fe1cd21ec5ce7d6093a833e0c
parent956d033fb2eb3f8818260cdf01644bf4dc1a9e33 (diff)
downloadtalos-obmc-linux-5392083748a340f68052c0b83a7ce28b10324972.tar.gz
talos-obmc-linux-5392083748a340f68052c0b83a7ce28b10324972.zip
cpuidle: CPUIDLE_FLAG_CHECK_BM is omap3_idle specific
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--arch/arm/mach-omap2/cpuidle34xx.c2
-rw-r--r--include/linux/cpuidle.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c
index 0d50b45d041c..f9be4e3078bc 100644
--- a/arch/arm/mach-omap2/cpuidle34xx.c
+++ b/arch/arm/mach-omap2/cpuidle34xx.c
@@ -47,6 +47,8 @@
#define OMAP3_STATE_MAX OMAP3_STATE_C7
+#define CPUIDLE_FLAG_CHECK_BM 0x10000 /* use omap3_enter_idle_bm() */
+
struct omap3_processor_cx {
u8 valid;
u8 type;
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h
index 6be722c725d5..36719ead50e8 100644
--- a/include/linux/cpuidle.h
+++ b/include/linux/cpuidle.h
@@ -47,7 +47,6 @@ struct cpuidle_state {
/* Idle State Flags */
#define CPUIDLE_FLAG_TIME_VALID (0x01) /* is residency time measurable? */
-#define CPUIDLE_FLAG_CHECK_BM (0x02) /* BM activity will exit state */
#define CPUIDLE_FLAG_IGNORE (0x100) /* ignore during this idle period */
#define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000)
OpenPOWER on IntegriCloud