]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Properly start decrementer on BookE secondary CPUs
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 28 Aug 2009 04:25:04 +0000 (14:25 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 28 Aug 2009 04:25:04 +0000 (14:25 +1000)
commit29bb128a22d76f66cb68e0888ff7a12615840d0e
treedb788b5bb4cbbea98d23335dfaad7c8d6cb2070a
parent5488e3e700409f2a0f2991f75a0a11b6bb50ed21
powerpc: Properly start decrementer on BookE secondary CPUs

This moves the code to start the decrementer on 40x and BookE into
a separate function which is now called from time_init() and
secondary_time_init(), before the respective clock sources are
registered. We also remove the 85xx specific code for doing it
from the platform code.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/time.c
arch/powerpc/platforms/85xx/smp.c