]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a3ccce0ca0454c6df76b9774aae3b1b0503a2c8
tree7d29a29e11c30ab63953c96ae5e5fd4e91daac67
parent11dfe93b422967531bc3cc360179575f2f143253
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