]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] ppc32: stop misusing ntps time_offset value
authorjohn stultz <johnstul@us.ibm.com>
Fri, 1 Jul 2005 05:08:54 +0000 (15:08 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 15 Jul 2005 21:15:24 +0000 (14:15 -0700)
commit8f399a7448e0b58eae969426f61b7e81d55d2639
treee4ad08fd285b9a5c7105bc296f50a90b01a79b3c
parent08cfcb785b7163a62c01632dbe9f0650a9754e62
[PATCH] ppc32: stop misusing ntps time_offset value

As part of my timeofday rework, I've been looking at the NTP code and I
noticed that the PPC architecture is apparently misusing the NTP's
time_offset (it is a terrible name!) value as some form of timezone offset.

This could cause problems when time_offset changed by the NTP code.  This
patch changes the PPC code so it uses a more clear local variable:
timezone_offset.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Acked-by: Tom Rini <trini@kernel.crashing.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ppc/kernel/time.c