diff options
author | Felipe Cerqueira <felipec@mpi-sws.org> | 2013-02-12 11:50:12 -0500 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-08-07 03:46:41 -0400 |
commit | 05ad941dfa83599208ee11b67c49ad54c4f3b78a (patch) | |
tree | 6c28687378286d6777c2980930ef487243d8fc8c /include/linux/tick.h | |
parent | 01a0a30a003019092e7748049a03bb5cfd0ab918 (diff) |
Add quantum aligment code
Enable staggered ticks for PD^2.
Diffstat (limited to 'include/linux/tick.h')
-rw-r--r-- | include/linux/tick.h | 5 |
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); | |||
77 | extern struct tick_device *tick_get_device(int cpu); | 77 | extern 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 | |||
80 | extern int tick_init_highres(void); | 85 | extern int tick_init_highres(void); |
81 | extern int tick_program_event(ktime_t expires, int force); | 86 | extern int tick_program_event(ktime_t expires, int force); |
82 | extern void tick_setup_sched_timer(void); | 87 | extern void tick_setup_sched_timer(void); |