diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-10-05 11:43:40 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-05 18:33:42 +0400 |
commit | 23cb8c297eb939b25e5a628dc9e8a71b17f1c44e (patch) | |
tree | c7dbcdef11fd251b39d0dcab80aaae6a3bcb9439 /drivers/char | |
parent | 329d4dd72e5c3393a0c7aeebf3e62df77b196d71 (diff) | |
download | linux-23cb8c297eb939b25e5a628dc9e8a71b17f1c44e.tar.xz |
[PATCH] ppc: Fix timekeeping with HZ=250 on some Mac models
Older Macs which uses the VIA chip timers to calibrate the timebase used
some code that wouldn't work if HZ wasn't divisible by 100...
This fixes it at least for 250. Not totally perfect but should be
enough for now (so it at least works with the default value which is now
250).
There is still a potential issue with the core using CLOCK_TICK_RATE to
maintain xtime and CLOCK_TICK_RATE value on ppc32 is pure crap, but that
is a different problem, this patch at least brings us back to our
previous situation.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions