aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tick.h
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2009-12-17 21:30:47 -0500
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-29 17:14:32 -0400
commit4e593e7105dec02e62ea7a1812dccb35a0d56d01 (patch)
tree3a162c327c9a5ef741bbf6da662cd02edcb9f309 /include/linux/tick.h
parent1d823f50678d7cc3bf72bf89ec0bddc7338e23d5 (diff)
[ported from 2008.3] Add support for quantum alignment
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 0482229c07db..4f9ba058abdb 100644
--- a/include/linux/tick.h
+++ b/include/linux/tick.h
@@ -71,6 +71,11 @@ extern int tick_is_oneshot_available(void);
71extern struct tick_device *tick_get_device(int cpu); 71extern 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
74extern int tick_init_highres(void); 79extern int tick_init_highres(void);
75extern int tick_program_event(ktime_t expires, int force); 80extern int tick_program_event(ktime_t expires, int force);
76extern void tick_setup_sched_timer(void); 81extern void tick_setup_sched_timer(void);