diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-05-25 05:41:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-25 19:13:42 +0200 |
commit | 8f80e5c911465743ccd3a328f992c7d8aaebf1e8 (patch) | |
tree | 86f5508d38d2f3b2e0f0d5b528fb27edef431b0f /drivers/usb/atm | |
parent | Linux 2.6.12-rc5 (diff) | |
download | linux-8f80e5c911465743ccd3a328f992c7d8aaebf1e8.tar.xz linux-8f80e5c911465743ccd3a328f992c7d8aaebf1e8.zip |
[PATCH] ppc64: fix initialisation of gettimeofday calculations
On PPC64, we keep track of when we need to update jiffies (and the
variables used to calculate the time of day) based on the time base.
If the time base frequence is sufficiently high compared to the
processor clock frequency, then it is possible for the time of day
variables to be corrupted at the time of the first decrementer interrupt
we take. This became obvious on a legacy iSeries where the time base
frequency is the same as the processor clock.
This one line patch fixes the initialisation so that the time of day
variables and the indicator we use to tell when updates are due are
better synchronised.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/atm')
0 files changed, 0 insertions, 0 deletions