diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-02-16 01:28:11 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-16 08:13:59 -0800 |
commit | 54cdfdb47f73b5af3d1ebb0f1e383efbe70fde9e (patch) | |
tree | e2f76277f6b7546e53c3a1d025e31bceb10bbff5 /include/linux/ktime.h | |
parent | d40891e75fc1f646dce57d5d3bd1349a6aaf7a0e (diff) | |
download | kernel_samsung_espresso10-54cdfdb47f73b5af3d1ebb0f1e383efbe70fde9e.zip kernel_samsung_espresso10-54cdfdb47f73b5af3d1ebb0f1e383efbe70fde9e.tar.gz kernel_samsung_espresso10-54cdfdb47f73b5af3d1ebb0f1e383efbe70fde9e.tar.bz2 |
[PATCH] hrtimers: add high resolution timer support
Implement high resolution timers on top of the hrtimers infrastructure and the
clockevents / tick-management framework. This provides accurate timers for
all hrtimer subsystem users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/ktime.h')
-rw-r--r-- | include/linux/ktime.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ktime.h b/include/linux/ktime.h index 7444a63..c68c7ac 100644 --- a/include/linux/ktime.h +++ b/include/linux/ktime.h @@ -261,8 +261,7 @@ static inline s64 ktime_to_ns(const ktime_t kt) * idea of the (in)accuracy of timers. Timer values are rounded up to * this resolution values. */ -#define KTIME_REALTIME_RES (ktime_t){ .tv64 = TICK_NSEC } -#define KTIME_MONOTONIC_RES (ktime_t){ .tv64 = TICK_NSEC } +#define KTIME_LOW_RES (ktime_t){ .tv64 = TICK_NSEC } /* Get the monotonic time in timespec format: */ extern void ktime_get_ts(struct timespec *ts); |