diff options
| author | Andrea Bastoni <bastoni@cs.unc.edu> | 2009-12-17 21:30:47 -0500 |
|---|---|---|
| committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:14:32 -0400 |
| commit | 4e593e7105dec02e62ea7a1812dccb35a0d56d01 (patch) | |
| tree | 3a162c327c9a5ef741bbf6da662cd02edcb9f309 /include/linux | |
| parent | 1d823f50678d7cc3bf72bf89ec0bddc7338e23d5 (diff) | |
[ported from 2008.3] Add support for quantum alignment
Diffstat (limited to 'include/linux')
| -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 0482229c07d..4f9ba058abd 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h | |||
| @@ -71,6 +71,11 @@ extern int tick_is_oneshot_available(void); | |||
| 71 | extern struct tick_device *tick_get_device(int cpu); | 71 | extern struct tick_device *tick_get_device(int cpu); |
| 72 | 72 | ||
| 73 | # ifdef CONFIG_HIGH_RES_TIMERS | 73 | # ifdef CONFIG_HIGH_RES_TIMERS |
| 74 | /* LITMUS^RT tick alignment */ | ||
| 75 | #define LINUX_DEFAULT_TICKS 0 | ||
| 76 | #define LITMUS_ALIGNED_TICKS 1 | ||
| 77 | #define LITMUS_STAGGERED_TICKS 2 | ||
| 78 | |||
| 74 | extern int tick_init_highres(void); | 79 | extern int tick_init_highres(void); |
| 75 | extern int tick_program_event(ktime_t expires, int force); | 80 | extern int tick_program_event(ktime_t expires, int force); |
| 76 | extern void tick_setup_sched_timer(void); | 81 | extern void tick_setup_sched_timer(void); |
