History

Merge branches 'pm-cpuidle' and 'powercap'

* pm-cpuidle: ACPI / processor: Set P_LVL{2,3} idle state descriptions intel_idle: add support for Jacobsville cpuidle: dt: bail out if the idle-state DT node is not compatible cpuidle: use BIT() for idle state flags and remove CPUIDLE_DRIVER_FLAGS_MASK Documentation: driver-api: PM: Add cpuidle document cpuidle: New timer events oriented governor for tickless systems * powercap: powercap/intel_rapl: add Ice Lake mobile powercap: intel_rapl: add support for Jacobsville

Rafael J. Wysocki committed 7 years ago

Commit 08a2e453 parents c3739c5 34a62cd ba6f3ec14 files · +860 −88Browse files

Showing the changes to include/linux (1 of 14 files). Show all

Unified · Split

include/linux/cpuidle.h+3−5
@@ -69,11 +69,9 @@ struct cpuidle_state { · 68 unmodified lines
6969
7070 /* Idle State Flags */
7171 #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 */
7775
7876 struct cpuidle_device_kobj;
7977 struct cpuidle_state_kobj;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t