powerpc: Max next_tb to prevent from replaying timer interrupt
authorTiejun Chen <tiejun.chen@windriver.com>
Tue, 15 Jan 2013 17:01:19 +0000 (17:01 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jan 2013 23:18:16 +0000 (10:18 +1100)
commit689dfa894c57842a05bf6dc9f97e6bb71ec5f386
tree36b1b888f77c68447b57d6db37cafe3032874f31
parentfefd9e6f8860249b2c284d89cb2e51fa71a9503a
powerpc: Max next_tb to prevent from replaying timer interrupt

With lazy interrupt, we always call __check_irq_replaysome with
decrementers_next_tb to check if we need to replay timer interrupt.
So in hotplug case we also need to set decrementers_next_tb as MAX
to make sure __check_irq_replay don't replay timer interrupt
when return as we expect, otherwise we'll trap here infinitely.

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/time.c