]> err.no Git - linux-2.6/commit
[POWERPC] Rework SMP timebase handoff for pasemi
authorOlof Johansson <olof@lixom.net>
Wed, 22 Aug 2007 02:26:43 +0000 (12:26 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Aug 2007 05:37:11 +0000 (15:37 +1000)
commitdc559f7cd5d6d11a99b6c29402b31fbb3f3a1db0
treee7309240d628231b3c70a3319625835289604542
parente5d8d54db25790524da34b0143f4e0176fb7677b
[POWERPC] Rework SMP timebase handoff for pasemi

Rework timebase handoff to play nice with configurations with more than
2 cores, as well as with CPU hotplug.

Previous scheme just pushed out the current timebase from the giving
core to all cores without caring if they wanted it or not, nor checking
if they'd taken it. The taking side didn't make sure the giving side
had provided a value yet either. In other words, it was completely broken.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pasemi/setup.c