[PATCH] fix and optimize clock source update
authorRoman Zippel <zippel@linux-m68k.org>
Mon, 26 Jun 2006 07:25:18 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:21 +0000 (09:58 -0700)
commit19923c190e0932bf0ac1e1d06a48f5c3678dd0de
tree2a32f5f16b3bbebd74c0f4910493c7f28a70fd84
parent6415ce9a922a1446e7ee0ac9b016082232ebe373
[PATCH] fix and optimize clock source update

This fixes the clock source updates in update_wall_time() to correctly
track the time coming in via current_tick_length().  Optimize the fast
paths to be as short as possible to keep the overhead low.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Acked-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/kernel/time.c
include/linux/clocksource.h
include/linux/timex.h
kernel/timer.c