diff options
author | Len Brown <len.brown@intel.com> | 2011-01-12 02:34:59 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 12:47:31 -0500 |
commit | d247632c08c674864d438733280422ddb7130ff8 (patch) | |
tree | d9c759480147cd867b72ceb8625554b2e7b550ed | |
parent | 0aae9f923bcc476a8e4725dd3ac37547b9816ee5 (diff) |
cpuidle: delete NOP CPUIDLE_FLAG_POLL
it serves no purpose
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/cpuidle/cpuidle.c | 2 | ||||
-rw-r--r-- | include/linux/cpuidle.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index 37e446041306..dd5f1eafd6f2 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c | |||
@@ -186,7 +186,7 @@ static void poll_idle_init(struct cpuidle_device *dev) | |||
186 | state->exit_latency = 0; | 186 | state->exit_latency = 0; |
187 | state->target_residency = 0; | 187 | state->target_residency = 0; |
188 | state->power_usage = -1; | 188 | state->power_usage = -1; |
189 | state->flags = CPUIDLE_FLAG_POLL; | 189 | state->flags = 0; |
190 | state->enter = poll_idle; | 190 | state->enter = poll_idle; |
191 | } | 191 | } |
192 | #else | 192 | #else |
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 1be416bbbb82..dee32853b0da 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h | |||
@@ -48,7 +48,6 @@ struct cpuidle_state { | |||
48 | /* Idle State Flags */ | 48 | /* Idle State Flags */ |
49 | #define CPUIDLE_FLAG_TIME_VALID (0x01) /* is residency time measurable? */ | 49 | #define CPUIDLE_FLAG_TIME_VALID (0x01) /* is residency time measurable? */ |
50 | #define CPUIDLE_FLAG_CHECK_BM (0x02) /* BM activity will exit state */ | 50 | #define CPUIDLE_FLAG_CHECK_BM (0x02) /* BM activity will exit state */ |
51 | #define CPUIDLE_FLAG_POLL (0x10) /* no latency, no savings */ | ||
52 | #define CPUIDLE_FLAG_SHALLOW (0x20) /* low latency, minimal savings */ | 51 | #define CPUIDLE_FLAG_SHALLOW (0x20) /* low latency, minimal savings */ |
53 | #define CPUIDLE_FLAG_BALANCED (0x40) /* medium latency, moderate savings */ | 52 | #define CPUIDLE_FLAG_BALANCED (0x40) /* medium latency, moderate savings */ |
54 | #define CPUIDLE_FLAG_DEEP (0x80) /* high latency, large savings */ | 53 | #define CPUIDLE_FLAG_DEEP (0x80) /* high latency, large savings */ |