diff options
Diffstat (limited to 'include/linux/cpuidle.h')
-rw-r--r-- | include/linux/cpuidle.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 8f0406230a0a..0bc4b74668e9 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h | |||
@@ -111,6 +111,9 @@ struct cpuidle_driver { | |||
111 | struct cpuidle_state states[CPUIDLE_STATE_MAX]; | 111 | struct cpuidle_state states[CPUIDLE_STATE_MAX]; |
112 | int state_count; | 112 | int state_count; |
113 | int safe_state_index; | 113 | int safe_state_index; |
114 | |||
115 | /* the driver handles the cpus in cpumask */ | ||
116 | struct cpumask *cpumask; | ||
114 | }; | 117 | }; |
115 | 118 | ||
116 | #ifdef CONFIG_CPU_IDLE | 119 | #ifdef CONFIG_CPU_IDLE |
@@ -135,9 +138,6 @@ extern void cpuidle_disable_device(struct cpuidle_device *dev); | |||
135 | extern int cpuidle_play_dead(void); | 138 | extern int cpuidle_play_dead(void); |
136 | 139 | ||
137 | extern struct cpuidle_driver *cpuidle_get_cpu_driver(struct cpuidle_device *dev); | 140 | extern struct cpuidle_driver *cpuidle_get_cpu_driver(struct cpuidle_device *dev); |
138 | extern int cpuidle_register_cpu_driver(struct cpuidle_driver *drv, int cpu); | ||
139 | extern void cpuidle_unregister_cpu_driver(struct cpuidle_driver *drv, int cpu); | ||
140 | |||
141 | #else | 141 | #else |
142 | static inline void disable_cpuidle(void) { } | 142 | static inline void disable_cpuidle(void) { } |
143 | static inline int cpuidle_idle_call(void) { return -ENODEV; } | 143 | static inline int cpuidle_idle_call(void) { return -ENODEV; } |