Add IRQF_IRQPOLL_IRQ on each timer interrupt on SH2.

Signed-off-by: Bernhard Walle <[EMAIL PROTECTED]>
---
 arch/sh/kernel/timers/timer-cmt.c  |    2 +-
 arch/sh/kernel/timers/timer-mtu2.c |    2 +-
 arch/sh/kernel/timers/timer-tmu.c  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-cmt.c
===================================================================
--- linux-2.6.21-rc4-mm1.orig/arch/sh/kernel/timers/timer-cmt.c
+++ linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-cmt.c
@@ -115,7 +115,7 @@ static irqreturn_t cmt_timer_interrupt(i
 static struct irqaction cmt_irq = {
        .name           = "timer",
        .handler        = cmt_timer_interrupt,
-       .flags          = IRQF_DISABLED | IRQF_TIMER,
+       .flags          = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL_IRQ,
        .mask           = CPU_MASK_NONE,
 };
 
Index: linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-mtu2.c
===================================================================
--- linux-2.6.21-rc4-mm1.orig/arch/sh/kernel/timers/timer-mtu2.c
+++ linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-mtu2.c
@@ -110,7 +110,7 @@ static irqreturn_t mtu2_timer_interrupt(
 static struct irqaction mtu2_irq = {
        .name           = "timer",
        .handler        = mtu2_timer_interrupt,
-       .flags          = IRQF_DISABLED | IRQF_TIMER,
+       .flags          = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL_IRQ,
        .mask           = CPU_MASK_NONE,
 };
 
Index: linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-tmu.c
===================================================================
--- linux-2.6.21-rc4-mm1.orig/arch/sh/kernel/timers/timer-tmu.c
+++ linux-2.6.21-rc4-mm1/arch/sh/kernel/timers/timer-tmu.c
@@ -99,7 +99,7 @@ static irqreturn_t tmu_timer_interrupt(i
 static struct irqaction tmu_irq = {
        .name           = "timer",
        .handler        = tmu_timer_interrupt,
-       .flags          = IRQF_DISABLED | IRQF_TIMER,
+       .flags          = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL_IRQ,
        .mask           = CPU_MASK_NONE,
 };
 

-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to