linux/include/asm-powerpc
Paul Mackerras e0d872d536 [POWERPC] Fix problem with time not advancing on 32-bit platforms
This fixes a problem introduced in 5db9fa9593e2ff69f2b95f9d59229dc4faaa564d.
The last_jiffy per-cpu variable is only 32 bits on 32-bit machines, but it
was being compared with a 64-bit quantity (tb_next_jiffy), which resulted in
time not advancing.

This fixes it by changing last_jiffy to be 64 bits on all platforms.  With
this, we no longer need tb_last_stamp as a 32-bit version of tb_last_jiffy,
so this gets rid of tb_last_stamp and we just use tb_last_jiffy instead.
This also fixes a bug when the boot cpu is not online, because using
tb_last_stamp could have caused the wrong timebase origin value to be used
when calculating the time of day.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-08-30 16:09:43 +10:00
..
2006-06-28 15:18:55 +10:00
2006-01-09 14:49:54 +11:00
2005-09-28 15:42:53 +10:00
2006-04-29 16:15:57 +10:00
2006-02-15 15:32:22 -08:00
2006-06-30 18:20:44 +02:00
2006-06-15 19:31:26 +10:00
2006-07-03 15:27:00 -07:00
2006-08-24 10:07:23 +10:00
2006-06-30 18:20:44 +02:00
2006-06-21 15:01:29 +10:00
2005-10-31 13:37:12 +11:00
2005-11-03 16:24:25 +11:00
2006-06-29 16:58:06 -07:00
2005-11-03 16:02:23 +11:00
2006-03-25 09:41:40 -08:00
2006-06-21 15:01:32 +10:00
2006-04-29 18:07:54 +10:00
2005-11-01 14:36:55 +11:00
2005-11-03 16:59:17 +11:00