]> bbs.cooldavid.org Git - net-next-2.6.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)
commit77c0a700c1c292edafa11c1e52821ce4636f81b0
treedb788b5bb4cbbea98d23335dfaad7c8d6cb2070a
parente5a6a1c9094839581242c678b11c93c294108696
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