hrtimer: Update base[CLOCK_BOOTTIME].offset correctly
authorThomas Gleixner <tglx@linutronix.de>
Wed, 2 Mar 2011 15:58:30 +0000 (16:58 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Mar 2011 16:20:00 +0000 (17:20 +0100)
commit5cd10e7946d28cfc42442fee2e6c757e244d756e
tree3886b72694e0edb7334f9a17ac9325f8b068c6e6
parent7fdd7f89006dd5a4c702fa0ce0c272345fa44ae0
hrtimer: Update base[CLOCK_BOOTTIME].offset correctly

We calculate the current time of each clock base by adding an offset
to clock_monotonic. The offset for the clock bases is set in
retrigger_next_event() which is called when we switch a cpu to highres
mode or when the clock was set.

Add the missing update for clock boottime.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <johnstul@us.ibm.com>
kernel/hrtimer.c