[PATCH] ppc32: stop misusing NTP's time_offset value
authorjohn stultz <johnstul@us.ibm.com>
Wed, 6 Jul 2005 01:54:44 +0000 (18:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Jul 2005 02:18:59 +0000 (19:18 -0700)
commitf326d22b8cc5bfebfa5b3f6a4066dc737def2234
treeef7f968164e71fd5a4cd390e489a95c84e9afa9a
parente6b6239f8e8e5bd9ba0192a854652abf14e28ce4
[PATCH] ppc32: stop misusing NTP's 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: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/time.c