]> err.no Git - linux-2.6/commit
[hrtimer] Change resolution storage to ktime_t format
authorThomas Gleixner <tglx@linutronix.de>
Thu, 12 Jan 2006 10:36:14 +0000 (11:36 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 12 Jan 2006 10:36:14 +0000 (11:36 +0100)
commite2787630c1abb075c935cf47e91beb7c656f48c4
tree43b6ee44b9f81fdb33283313f167d6ecec2b0243
parent288867ec5c377db82933b64460ce050e5c998ee9
[hrtimer] Change resolution storage to ktime_t format

Change the storage format of the per base resolution to ktime_t to
make it easier accessible in the hrtimers code.

Change the resolution from (NSEC_PER_SEC/HZ) to TICK_NSEC as Roman
pointed out. TICK_NSEC is closer to the real resolution.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/hrtimer.h
include/linux/ktime.h
kernel/hrtimer.c