aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/boot/simple/chrpmap.c
diff options
context:
space:
mode:
authorGiovambattista Pulcini <gpulcini@swintel.it>2005-04-16 15:24:24 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:24:24 -0700
commit54095a6ec7b11a008c07c5016b025206a051f560 (patch)
tree7e2abe2dc483e05387c331ec41e1f5c51678dd3e /arch/ppc/boot/simple/chrpmap.c
parent[PATCH] ppc32: Fix mpc8xx watchdog (diff)
downloadlinux-dev-54095a6ec7b11a008c07c5016b025206a051f560.tar.xz
linux-dev-54095a6ec7b11a008c07c5016b025206a051f560.zip
[PATCH] ppc32: Fix a problem with NTP on !(chrp||gemini)
The following problem was found by Giovambattista Pulcini <gpulcini@swintel.it>, who also provided a partial patch, and this has been verified by our time guru Gabriel Paubert <paubert@iram.es>. The problem is that in do_settimeofday() we always set time_state to TIME_ERROR and except on two platforms, never re-set it. This meant that ntp_gettime() and ntp_adjtime() always returned TIME_ERROR, incorrectly. Based on Gabriel's analysis, time_state is used for leap-second processing, and ppc shouldn't be mucking with it. Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/boot/simple/chrpmap.c')
0 files changed, 0 insertions, 0 deletions