]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] time_adjust cleared before use
authorJim Houston <jim.houston@comcast.net>
Sat, 28 Oct 2006 17:38:56 +0000 (10:38 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 28 Oct 2006 18:30:55 +0000 (11:30 -0700)
commitbb1d860551c4307b1a7ee9a21b120319075e987e
treeb1a7ba710c54f76684a85f241802980b3bcbb92c
parenteba6cd671427df295c10b54ee69cd5de419d38fe
[PATCH] time_adjust cleared before use

I notice that the code which implements adjtime clears the time_adjust
value before using it.  The attached patch makes the obvious fix.

Acked-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Jim Houston <jim.houston@ccur.com>
Cc: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/time/ntp.c