diff options
author | Paul Mackerras <paulus@samba.org> | 2006-08-30 02:13:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-31 00:21:55 -0400 |
commit | eb36c2884a1a2190791afe65fd833b2d3cd4b999 (patch) | |
tree | 2bc7defdfee59f273e81a5ddd2e792c65bb93d4c /include/asm-powerpc/rtc.h | |
parent | 98a3c781057fa43494e7e8b39d639e93fca0ecbf (diff) |
[PATCH] ppc32: fix last_jiffy time comparison
This fixes a hang on ppc32.
The problem was that I was comparing a 32-bit quantity with a 64-bit
quantity, and consequently time wasn't advancing. This makes us use a
64-bit quantity on all platforms, which ends up simplifying the code
since we can now get rid of the tb_last_stamp variable (which actually
fixes another bug that Ben H and I noticed while going carefully through
the code).
This works fine on my G4 tibook. Let me know how it goes on your
machines.
Acked-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-powerpc/rtc.h')
0 files changed, 0 insertions, 0 deletions