tick-internal.h (9f083b74df3a7eaa100b456f2dc195512daf728e) tick-internal.h (bfb83b27519aa7ed9510f601a8f825a2c1484bc2)
1/*
2 * tick internal variable and functions used by low/high res code
3 */
4#include <linux/hrtimer.h>
5#include <linux/tick.h>
6
7#include "timekeeping.h"
8
1/*
2 * tick internal variable and functions used by low/high res code
3 */
4#include <linux/hrtimer.h>
5#include <linux/tick.h>
6
7#include "timekeeping.h"
8
9extern seqlock_t jiffies_lock;
10
11#define CS_NAME_LEN 32
12
13#ifdef CONFIG_GENERIC_CLOCKEVENTS
14
15#define TICK_DO_TIMER_NONE -1
16#define TICK_DO_TIMER_BOOT -2
17
18DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
19extern ktime_t tick_next_period;
20extern ktime_t tick_period;

--- 143 unchanged lines hidden (view full) ---

164{
165 return !(dev->features & CLOCK_EVT_FEAT_DUMMY);
166}
167
168int __clockevents_update_freq(struct clock_event_device *dev, u32 freq);
169
170#endif /* GENERIC_CLOCKEVENTS */
171
9#ifdef CONFIG_GENERIC_CLOCKEVENTS
10
11#define TICK_DO_TIMER_NONE -1
12#define TICK_DO_TIMER_BOOT -2
13
14DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
15extern ktime_t tick_next_period;
16extern ktime_t tick_period;

--- 143 unchanged lines hidden (view full) ---

160{
161 return !(dev->features & CLOCK_EVT_FEAT_DUMMY);
162}
163
164int __clockevents_update_freq(struct clock_event_device *dev, u32 freq);
165
166#endif /* GENERIC_CLOCKEVENTS */
167
172extern void do_timer(unsigned long ticks);
173extern void update_wall_time(void);