aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tick.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tick.h')
-rw-r--r--include/linux/tick.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tick.h b/include/linux/tick.h
index f9a2d2687a46..7e07e0e3d898 100644
--- a/include/linux/tick.h
+++ b/include/linux/tick.h
@@ -29,10 +29,13 @@ extern struct tick_device *tick_get_device(int cpu);
29extern void __init tick_init(void); 29extern void __init tick_init(void);
30extern void tick_freeze(void); 30extern void tick_freeze(void);
31extern void tick_unfreeze(void); 31extern void tick_unfreeze(void);
32/* Should be core only, but XEN resume magic abuses this interface */
33extern void tick_resume(void);
32#else /* CONFIG_GENERIC_CLOCKEVENTS */ 34#else /* CONFIG_GENERIC_CLOCKEVENTS */
33static inline void tick_init(void) { } 35static inline void tick_init(void) { }
34static inline void tick_freeze(void) { } 36static inline void tick_freeze(void) { }
35static inline void tick_unfreeze(void) { } 37static inline void tick_unfreeze(void) { }
38static inline void tick_resume(void) { }
36#endif /* !CONFIG_GENERIC_CLOCKEVENTS */ 39#endif /* !CONFIG_GENERIC_CLOCKEVENTS */
37 40
38#ifdef CONFIG_TICK_ONESHOT 41#ifdef CONFIG_TICK_ONESHOT