powerpc: Make decrementer interrupt robust against offlined CPUs
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 Mar 2011 03:51:10 +0000 (14:51 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 1 Apr 2011 04:37:07 +0000 (15:37 +1100)
commit963e5d3b76d657f1ebcf3561446d2ba1872bbfa2
tree323acf4be02bddfebc9fe0a415b9e709fb8f5bf5
parentecb78ab6f30106ab72a575a25b1cdfd1633b7ca2
powerpc: Make decrementer interrupt robust against offlined CPUs

With some implementations, it is possible that a timer interrupt
occurs every few seconds on an offline CPU. In this case, just
re-arm the decrementer and return immediately

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