[patch 5/7] Add IRQF_IRQPOLL flag on sh

From: Bernhard Walle
Date: Tue Mar 27 2007 - 16:50:09 EST


Add IRQF_IRQPOLL on each timer interrupt on SH2.

Signed-off-by: Bernhard Walle <bwalle@xxxxxxx>
---
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-rc5-mm2/arch/sh/kernel/timers/timer-cmt.c
===================================================================
--- linux-2.6.21-rc5-mm2.orig/arch/sh/kernel/timers/timer-cmt.c
+++ linux-2.6.21-rc5-mm2/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,
.mask = CPU_MASK_NONE,
};

Index: linux-2.6.21-rc5-mm2/arch/sh/kernel/timers/timer-mtu2.c
===================================================================
--- linux-2.6.21-rc5-mm2.orig/arch/sh/kernel/timers/timer-mtu2.c
+++ linux-2.6.21-rc5-mm2/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,
.mask = CPU_MASK_NONE,
};

Index: linux-2.6.21-rc5-mm2/arch/sh/kernel/timers/timer-tmu.c
===================================================================
--- linux-2.6.21-rc5-mm2.orig/arch/sh/kernel/timers/timer-tmu.c
+++ linux-2.6.21-rc5-mm2/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,
.mask = CPU_MASK_NONE,
};


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