aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2013-04-23 04:54:31 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-04-23 07:45:22 -0400
commit554c06ba3ee29cf453fca17e9e61120b75aa476d (patch)
tree05633b02fbfd86872b92061d9b5c6fb38c0f6f8c /include/linux
parent3dcb9f1b17879534c80ccbf62fd13156f83ef799 (diff)
cpuidle: remove en_core_tk_irqen flag
The en_core_tk_irqen flag is set in all the cpuidle driver which means it is not necessary to specify this flag. Remove the flag and the code related to it. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Kevin Hilman <khilman@linaro.org> # for mach-omap2/* Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cpuidle.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h
index fc3e5808b7ff..79e38114e5f4 100644
--- a/include/linux/cpuidle.h
+++ b/include/linux/cpuidle.h
@@ -105,8 +105,6 @@ struct cpuidle_driver {
105 struct module *owner; 105 struct module *owner;
106 int refcnt; 106 int refcnt;
107 107
108 /* set to 1 to use the core cpuidle time keeping (for all states). */
109 unsigned int en_core_tk_irqen:1;
110 /* used by the cpuidle framework to setup the broadcast timer */ 108 /* used by the cpuidle framework to setup the broadcast timer */
111 unsigned int bctimer:1; 109 unsigned int bctimer:1;
112 /* states array must be ordered in decreasing power consumption */ 110 /* states array must be ordered in decreasing power consumption */
@@ -132,10 +130,6 @@ extern void cpuidle_pause(void);
132extern void cpuidle_resume(void); 130extern void cpuidle_resume(void);
133extern int cpuidle_enable_device(struct cpuidle_device *dev); 131extern int cpuidle_enable_device(struct cpuidle_device *dev);
134extern void cpuidle_disable_device(struct cpuidle_device *dev); 132extern void cpuidle_disable_device(struct cpuidle_device *dev);
135extern int cpuidle_wrap_enter(struct cpuidle_device *dev,
136 struct cpuidle_driver *drv, int index,
137 int (*enter)(struct cpuidle_device *dev,
138 struct cpuidle_driver *drv, int index));
139extern int cpuidle_play_dead(void); 133extern int cpuidle_play_dead(void);
140 134
141extern struct cpuidle_driver *cpuidle_get_cpu_driver(struct cpuidle_device *dev); 135extern struct cpuidle_driver *cpuidle_get_cpu_driver(struct cpuidle_device *dev);
@@ -162,11 +156,6 @@ static inline void cpuidle_resume(void) { }
162static inline int cpuidle_enable_device(struct cpuidle_device *dev) 156static inline int cpuidle_enable_device(struct cpuidle_device *dev)
163{return -ENODEV; } 157{return -ENODEV; }
164static inline void cpuidle_disable_device(struct cpuidle_device *dev) { } 158static inline void cpuidle_disable_device(struct cpuidle_device *dev) { }
165static inline int cpuidle_wrap_enter(struct cpuidle_device *dev,
166 struct cpuidle_driver *drv, int index,
167 int (*enter)(struct cpuidle_device *dev,
168 struct cpuidle_driver *drv, int index))
169{ return -ENODEV; }
170static inline int cpuidle_play_dead(void) {return -ENODEV; } 159static inline int cpuidle_play_dead(void) {return -ENODEV; }
171#endif 160#endif
172 161