diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-01 11:57:46 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-01 11:57:46 +0100 |
| commit | 8a56bdeb09007e33107e6fdf72909e74c2fe1b95 (patch) | |
| tree | fdb34498580dc72ac3479ed7e7f5e1aaaa4cfe4f /include/linux | |
| parent | 1617971c6616c87185cbc78fa1a86dfc70dd16b6 (diff) | |
| parent | 44021606298870e4adc641ef3927e7bb47ca8236 (diff) | |
Merge back earlier cpuidle material for v5.1.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cpuidle.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 4dff74f48d4b..3b39472324a3 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h @@ -69,11 +69,9 @@ struct cpuidle_state { /* Idle State Flags */ #define CPUIDLE_FLAG_NONE (0x00) -#define CPUIDLE_FLAG_POLLING (0x01) /* polling state */ -#define CPUIDLE_FLAG_COUPLED (0x02) /* state applies to multiple cpus */ -#define CPUIDLE_FLAG_TIMER_STOP (0x04) /* timer is stopped on this state */ - -#define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000) +#define CPUIDLE_FLAG_POLLING BIT(0) /* polling state */ +#define CPUIDLE_FLAG_COUPLED BIT(1) /* state applies to multiple cpus */ +#define CPUIDLE_FLAG_TIMER_STOP BIT(2) /* timer is stopped on this state */ struct cpuidle_device_kobj; struct cpuidle_state_kobj; |
