aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2006-01-09 23:52:35 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 11:01:38 -0500
commit10c94ec16dd187f8d8dfdbb088e98330c05bf03c (patch)
treed24036d92c24cea0c1cd163409177ecb735468e6 /include/linux
parent2ff678b8da6478d861c1b0ecb3ac14575760e906 (diff)
[PATCH] hrtimer: create hrtimer nanosleep API
introduce the hrtimer_nanosleep() and hrtimer_nanosleep_real() APIs. Not yet used by any code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hrtimer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 64f8d554fbb8..2ac20b48b2f3 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -121,6 +121,12 @@ static inline int hrtimer_active(const struct hrtimer *timer)
121extern unsigned long hrtimer_forward(struct hrtimer *timer, 121extern unsigned long hrtimer_forward(struct hrtimer *timer,
122 const ktime_t interval); 122 const ktime_t interval);
123 123
124/* Precise sleep: */
125extern long hrtimer_nanosleep(struct timespec *rqtp,
126 struct timespec __user *rmtp,
127 const enum hrtimer_mode mode,
128 const clockid_t clockid);
129
124/* Soft interrupt function to run the hrtimer queues: */ 130/* Soft interrupt function to run the hrtimer queues: */
125extern void hrtimer_run_queues(void); 131extern void hrtimer_run_queues(void);
126 132