ppc64/powerpc: Fix time initialization on SMP systems
authorPaul Mackerras <paulus@samba.org>
Sat, 22 Oct 2005 04:55:23 +0000 (14:55 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 22 Oct 2005 04:55:23 +0000 (14:55 +1000)
commita5b518ed314bfd25ea5e433ce09f8b27080023db
tree777d0f9202136dcff484121ad7673eb65d099567
parente2b5530698cbe8148577b24097eaefcd835ac9ca
ppc64/powerpc: Fix time initialization on SMP systems

This moves smp_space_timers from arch/ppc64/kernel/smp.c to
arch/powerpc/kernel/time.c and makes it initialize last_jiffy[]
instead of paca[].next_jiffy_update_tb, since last_jiffy[] is
now what the time code uses.  It also declares smp_space_timers
in include/asm-powerpc/time.h and gets rid of an ifdef in
div128_by_32.

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