powerpc: Remove the unneeded trigger of decrementer interrupt in decrementer_check_ov...
authorKevin Hao <haokexin@gmail.com>
Wed, 17 Apr 2013 09:50:35 +0000 (17:50 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 06:55:10 +0000 (16:55 +1000)
commit3139b0a797d6826519ed98a13623a92f12269613
tree716b5f35913de377cd2dd56af6c59c9bc55b76db
parent39a421ff0b7cb056e687894a9d5f57aa1303e1c8
powerpc: Remove the unneeded trigger of decrementer interrupt in decrementer_check_overflow

Previously in order to handle the edge sensitive decrementers,
we choose to set the decrementer to 1 to trigger a decrementer
interrupt when re-enabling interrupts. But with the rework of the
lazy EE, we would replay the decrementer interrupt when re-enabling
interrupts if a decrementer interrupt occurs with irq soft-disabled.
So there is no need to trigger a decrementer interrupt in this case
any more.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/irq.c