aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tick.h
diff options
context:
space:
mode:
authorFelipe Cerqueira <felipec@mpi-sws.org>2013-02-12 11:50:12 -0500
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-08-07 03:46:41 -0400
commit05ad941dfa83599208ee11b67c49ad54c4f3b78a (patch)
tree6c28687378286d6777c2980930ef487243d8fc8c /include/linux/tick.h
parent01a0a30a003019092e7748049a03bb5cfd0ab918 (diff)
Add quantum aligment code
Enable staggered ticks for PD^2.
Diffstat (limited to 'include/linux/tick.h')
-rw-r--r--include/linux/tick.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/tick.h b/include/linux/tick.h
index 9180f4b85e6d..45fd00e4051b 100644
--- a/include/linux/tick.h
+++ b/include/linux/tick.h
@@ -77,6 +77,11 @@ extern int tick_is_oneshot_available(void);
77extern struct tick_device *tick_get_device(int cpu); 77extern struct tick_device *tick_get_device(int cpu);
78 78
79# ifdef CONFIG_HIGH_RES_TIMERS 79# ifdef CONFIG_HIGH_RES_TIMERS
80/* LITMUS^RT tick alignment */
81#define LINUX_DEFAULT_TICKS 0
82#define LITMUS_ALIGNED_TICKS 1
83#define LITMUS_STAGGERED_TICKS 2
84
80extern int tick_init_highres(void); 85extern int tick_init_highres(void);
81extern int tick_program_event(ktime_t expires, int force); 86extern int tick_program_event(ktime_t expires, int force);
82extern void tick_setup_sched_timer(void); 87extern void tick_setup_sched_timer(void);