powerpc: Fix SMP time initialization problem
authorPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 03:28:03 +0000 (14:28 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 03:28:03 +0000 (14:28 +1100)
commitcbe62e2b4a764aa3f9a2b9c9004f8e86a1f0ade8
tree7d29a29e11c30ab63953c96ae5e5fd4e91daac67
parent094fe2e712f38f49bf79ef93306c61b1b993b07b
powerpc: Fix SMP time initialization problem

We were getting the last_jiffy per-cpu variable set ahead of the current
timebase in smp_space_timers on SMP machines.  This caused the loop in
timer_interrupt to loop virtually forever, since tb_ticks_since assumes
that it will never be called with the timebase behind the last_jiffy
value.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/time.c