aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hrtimer.h')
-rw-r--r--include/linux/hrtimer.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index cc07d2777bb..fd0dc30c9f1 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -165,7 +165,6 @@ enum hrtimer_base_type {
165 * @lock: lock protecting the base and associated clock bases 165 * @lock: lock protecting the base and associated clock bases
166 * and timers 166 * and timers
167 * @active_bases: Bitfield to mark bases with active timers 167 * @active_bases: Bitfield to mark bases with active timers
168 * @clock_was_set: Indicates that clock was set from irq context.
169 * @expires_next: absolute time of the next event which was scheduled 168 * @expires_next: absolute time of the next event which was scheduled
170 * via clock_set_next_event() 169 * via clock_set_next_event()
171 * @hres_active: State of high resolution mode 170 * @hres_active: State of high resolution mode
@@ -178,8 +177,7 @@ enum hrtimer_base_type {
178 */ 177 */
179struct hrtimer_cpu_base { 178struct hrtimer_cpu_base {
180 raw_spinlock_t lock; 179 raw_spinlock_t lock;
181 unsigned int active_bases; 180 unsigned long active_bases;
182 unsigned int clock_was_set;
183#ifdef CONFIG_HIGH_RES_TIMERS 181#ifdef CONFIG_HIGH_RES_TIMERS
184 ktime_t expires_next; 182 ktime_t expires_next;
185 int hres_active; 183 int hres_active;
@@ -288,8 +286,6 @@ extern void hrtimer_peek_ahead_timers(void);
288# define MONOTONIC_RES_NSEC HIGH_RES_NSEC 286# define MONOTONIC_RES_NSEC HIGH_RES_NSEC
289# define KTIME_MONOTONIC_RES KTIME_HIGH_RES 287# define KTIME_MONOTONIC_RES KTIME_HIGH_RES
290 288
291extern void clock_was_set_delayed(void);
292
293#else 289#else
294 290
295# define MONOTONIC_RES_NSEC LOW_RES_NSEC 291# define MONOTONIC_RES_NSEC LOW_RES_NSEC
@@ -310,9 +306,6 @@ static inline int hrtimer_is_hres_active(struct hrtimer *timer)
310{ 306{
311 return 0; 307 return 0;
312} 308}
313
314static inline void clock_was_set_delayed(void) { }
315
316#endif 309#endif
317 310
318extern void clock_was_set(void); 311extern void clock_was_set(void);
@@ -327,7 +320,6 @@ extern ktime_t ktime_get(void);
327extern ktime_t ktime_get_real(void); 320extern ktime_t ktime_get_real(void);
328extern ktime_t ktime_get_boottime(void); 321extern ktime_t ktime_get_boottime(void);
329extern ktime_t ktime_get_monotonic_offset(void); 322extern ktime_t ktime_get_monotonic_offset(void);
330extern ktime_t ktime_get_update_offsets(ktime_t *offs_real, ktime_t *offs_boot);
331 323
332DECLARE_PER_CPU(struct tick_device, tick_cpu_device); 324DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
333 325