Showing the changes to include/linux (1 of 10 files). Show all
Unified · Split
| @@ -69,11 +69,9 @@ struct cpuidle_state { · 68 unmodified lines | ||
| 69 | 69 | |
| 70 | 70 | /* Idle State Flags */ |
| 71 | 71 | #define CPUIDLE_FLAG_NONE (0x00) |
| 72 | −#define CPUIDLE_FLAG_POLLING (0x01) /* polling state */ | |
| 73 | −#define CPUIDLE_FLAG_COUPLED (0x02) /* state applies to multiple cpus */ | |
| 74 | −#define CPUIDLE_FLAG_TIMER_STOP (0x04) /* timer is stopped on this state */ | |
| 75 | − | |
| 76 | −#define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000) | |
| 72 | +#define CPUIDLE_FLAG_POLLING BIT(0) /* polling state */ | |
| 73 | +#define CPUIDLE_FLAG_COUPLED BIT(1) /* state applies to multiple cpus */ | |
| 74 | +#define CPUIDLE_FLAG_TIMER_STOP BIT(2) /* timer is stopped on this state */ | |
| 77 | 75 | |
| 78 | 76 | struct cpuidle_device_kobj; |
| 79 | 77 | struct cpuidle_state_kobj; |