Commit b30fabad authored by Bernhard Walle's avatar Bernhard Walle Committed by Linus Torvalds

Add IRQF_IRQPOLL flag on arm

Add IRQF_IRQPOLL for each timer interrupt.
Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 57501c70
...@@ -142,7 +142,7 @@ aaec2000_timer_interrupt(int irq, void *dev_id) ...@@ -142,7 +142,7 @@ aaec2000_timer_interrupt(int irq, void *dev_id)
static struct irqaction aaec2000_timer_irq = { static struct irqaction aaec2000_timer_irq = {
.name = "AAEC-2000 Timer Tick", .name = "AAEC-2000 Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = aaec2000_timer_interrupt, .handler = aaec2000_timer_interrupt,
}; };
......
...@@ -87,7 +87,7 @@ static irqreturn_t at91rm9200_timer_interrupt(int irq, void *dev_id) ...@@ -87,7 +87,7 @@ static irqreturn_t at91rm9200_timer_interrupt(int irq, void *dev_id)
static struct irqaction at91rm9200_timer_irq = { static struct irqaction at91rm9200_timer_irq = {
.name = "at91_tick", .name = "at91_tick",
.flags = IRQF_SHARED | IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_SHARED | IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = at91rm9200_timer_interrupt .handler = at91rm9200_timer_interrupt
}; };
......
...@@ -66,7 +66,7 @@ static irqreturn_t at91sam926x_timer_interrupt(int irq, void *dev_id) ...@@ -66,7 +66,7 @@ static irqreturn_t at91sam926x_timer_interrupt(int irq, void *dev_id)
static struct irqaction at91sam926x_timer_irq = { static struct irqaction at91sam926x_timer_irq = {
.name = "at91_tick", .name = "at91_tick",
.flags = IRQF_SHARED | IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_SHARED | IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = at91sam926x_timer_interrupt .handler = at91sam926x_timer_interrupt
}; };
......
...@@ -58,7 +58,7 @@ p720t_timer_interrupt(int irq, void *dev_id) ...@@ -58,7 +58,7 @@ p720t_timer_interrupt(int irq, void *dev_id)
static struct irqaction clps711x_timer_irq = { static struct irqaction clps711x_timer_irq = {
.name = "CLPS711x Timer Tick", .name = "CLPS711x Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = p720t_timer_interrupt, .handler = p720t_timer_interrupt,
}; };
......
...@@ -316,7 +316,7 @@ clps7500_timer_interrupt(int irq, void *dev_id) ...@@ -316,7 +316,7 @@ clps7500_timer_interrupt(int irq, void *dev_id)
static struct irqaction clps7500_timer_irq = { static struct irqaction clps7500_timer_irq = {
.name = "CLPS7500 Timer Tick", .name = "CLPS7500 Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = clps7500_timer_interrupt, .handler = clps7500_timer_interrupt,
}; };
......
...@@ -199,7 +199,7 @@ ebsa110_timer_interrupt(int irq, void *dev_id) ...@@ -199,7 +199,7 @@ ebsa110_timer_interrupt(int irq, void *dev_id)
static struct irqaction ebsa110_timer_irq = { static struct irqaction ebsa110_timer_irq = {
.name = "EBSA110 Timer Tick", .name = "EBSA110 Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = ebsa110_timer_interrupt, .handler = ebsa110_timer_interrupt,
}; };
......
...@@ -116,7 +116,7 @@ static int ep93xx_timer_interrupt(int irq, void *dev_id) ...@@ -116,7 +116,7 @@ static int ep93xx_timer_interrupt(int irq, void *dev_id)
static struct irqaction ep93xx_timer_irq = { static struct irqaction ep93xx_timer_irq = {
.name = "ep93xx timer", .name = "ep93xx timer",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = ep93xx_timer_interrupt, .handler = ep93xx_timer_interrupt,
}; };
......
...@@ -44,7 +44,7 @@ timer1_interrupt(int irq, void *dev_id) ...@@ -44,7 +44,7 @@ timer1_interrupt(int irq, void *dev_id)
static struct irqaction footbridge_timer_irq = { static struct irqaction footbridge_timer_irq = {
.name = "Timer1 timer tick", .name = "Timer1 timer tick",
.handler = timer1_interrupt, .handler = timer1_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
}; };
/* /*
......
...@@ -73,7 +73,7 @@ isa_timer_interrupt(int irq, void *dev_id) ...@@ -73,7 +73,7 @@ isa_timer_interrupt(int irq, void *dev_id)
static struct irqaction isa_timer_irq = { static struct irqaction isa_timer_irq = {
.name = "ISA timer tick", .name = "ISA timer tick",
.handler = isa_timer_interrupt, .handler = isa_timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
}; };
static void __init isa_timer_init(void) static void __init isa_timer_init(void)
......
...@@ -41,7 +41,7 @@ h7201_timer_interrupt(int irq, void *dev_id) ...@@ -41,7 +41,7 @@ h7201_timer_interrupt(int irq, void *dev_id)
static struct irqaction h7201_timer_irq = { static struct irqaction h7201_timer_irq = {
.name = "h7201 Timer Tick", .name = "h7201 Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = h7201_timer_interrupt, .handler = h7201_timer_interrupt,
}; };
......
...@@ -170,7 +170,7 @@ static struct irq_chip h7202_timerx_chip = { ...@@ -170,7 +170,7 @@ static struct irq_chip h7202_timerx_chip = {
static struct irqaction h7202_timer_irq = { static struct irqaction h7202_timer_irq = {
.name = "h7202 Timer Tick", .name = "h7202 Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = h7202_timer_interrupt, .handler = h7202_timer_interrupt,
}; };
......
...@@ -56,7 +56,7 @@ imx_timer_interrupt(int irq, void *dev_id) ...@@ -56,7 +56,7 @@ imx_timer_interrupt(int irq, void *dev_id)
static struct irqaction imx_timer_irq = { static struct irqaction imx_timer_irq = {
.name = "i.MX Timer Tick", .name = "i.MX Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = imx_timer_interrupt, .handler = imx_timer_interrupt,
}; };
......
...@@ -282,7 +282,7 @@ integrator_timer_interrupt(int irq, void *dev_id) ...@@ -282,7 +282,7 @@ integrator_timer_interrupt(int irq, void *dev_id)
static struct irqaction integrator_timer_irq = { static struct irqaction integrator_timer_irq = {
.name = "Integrator Timer Tick", .name = "Integrator Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = integrator_timer_interrupt, .handler = integrator_timer_interrupt,
}; };
......
...@@ -224,7 +224,7 @@ static int ixp2000_timer_interrupt(int irq, void *dev_id) ...@@ -224,7 +224,7 @@ static int ixp2000_timer_interrupt(int irq, void *dev_id)
static struct irqaction ixp2000_timer_irq = { static struct irqaction ixp2000_timer_irq = {
.name = "IXP2000 Timer Tick", .name = "IXP2000 Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = ixp2000_timer_interrupt, .handler = ixp2000_timer_interrupt,
}; };
......
...@@ -363,7 +363,7 @@ ixp23xx_timer_interrupt(int irq, void *dev_id) ...@@ -363,7 +363,7 @@ ixp23xx_timer_interrupt(int irq, void *dev_id)
static struct irqaction ixp23xx_timer_irq = { static struct irqaction ixp23xx_timer_irq = {
.name = "IXP23xx Timer Tick", .name = "IXP23xx Timer Tick",
.handler = ixp23xx_timer_interrupt, .handler = ixp23xx_timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
}; };
void __init ixp23xx_init_timer(void) void __init ixp23xx_init_timer(void)
......
...@@ -279,7 +279,7 @@ static irqreturn_t ixp4xx_timer_interrupt(int irq, void *dev_id) ...@@ -279,7 +279,7 @@ static irqreturn_t ixp4xx_timer_interrupt(int irq, void *dev_id)
static struct irqaction ixp4xx_timer_irq = { static struct irqaction ixp4xx_timer_irq = {
.name = "timer1", .name = "timer1",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = ixp4xx_timer_interrupt, .handler = ixp4xx_timer_interrupt,
}; };
......
...@@ -53,7 +53,7 @@ lh7a40x_timer_interrupt(int irq, void *dev_id) ...@@ -53,7 +53,7 @@ lh7a40x_timer_interrupt(int irq, void *dev_id)
static struct irqaction lh7a40x_timer_irq = { static struct irqaction lh7a40x_timer_irq = {
.name = "LHA740x Timer Tick", .name = "LHA740x Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = lh7a40x_timer_interrupt, .handler = lh7a40x_timer_interrupt,
}; };
......
...@@ -47,7 +47,7 @@ netx_timer_interrupt(int irq, void *dev_id) ...@@ -47,7 +47,7 @@ netx_timer_interrupt(int irq, void *dev_id)
static struct irqaction netx_timer_irq = { static struct irqaction netx_timer_irq = {
.name = "NetX Timer Tick", .name = "NetX Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = netx_timer_interrupt, .handler = netx_timer_interrupt,
}; };
......
...@@ -53,7 +53,7 @@ static unsigned long ns9xxx_timer_gettimeoffset(void) ...@@ -53,7 +53,7 @@ static unsigned long ns9xxx_timer_gettimeoffset(void)
static struct irqaction ns9xxx_timer_irq = { static struct irqaction ns9xxx_timer_irq = {
.name = "NS9xxx Timer Tick", .name = "NS9xxx Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = ns9xxx_timer_interrupt, .handler = ns9xxx_timer_interrupt,
}; };
......
...@@ -179,7 +179,7 @@ static irqreturn_t omap_mpu_timer1_interrupt(int irq, void *dev_id) ...@@ -179,7 +179,7 @@ static irqreturn_t omap_mpu_timer1_interrupt(int irq, void *dev_id)
static struct irqaction omap_mpu_timer1_irq = { static struct irqaction omap_mpu_timer1_irq = {
.name = "mpu_timer1", .name = "mpu_timer1",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = omap_mpu_timer1_interrupt, .handler = omap_mpu_timer1_interrupt,
}; };
......
...@@ -52,7 +52,7 @@ static irqreturn_t omap2_gp_timer_interrupt(int irq, void *dev_id) ...@@ -52,7 +52,7 @@ static irqreturn_t omap2_gp_timer_interrupt(int irq, void *dev_id)
static struct irqaction omap2_gp_timer_irq = { static struct irqaction omap2_gp_timer_irq = {
.name = "gp timer", .name = "gp timer",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = omap2_gp_timer_interrupt, .handler = omap2_gp_timer_interrupt,
}; };
......
...@@ -82,7 +82,7 @@ static irqreturn_t pnx4008_timer_interrupt(int irq, void *dev_id) ...@@ -82,7 +82,7 @@ static irqreturn_t pnx4008_timer_interrupt(int irq, void *dev_id)
static struct irqaction pnx4008_timer_irq = { static struct irqaction pnx4008_timer_irq = {
.name = "PNX4008 Tick Timer", .name = "PNX4008 Tick Timer",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = pnx4008_timer_interrupt .handler = pnx4008_timer_interrupt
}; };
......
...@@ -97,7 +97,7 @@ pxa_timer_interrupt(int irq, void *dev_id) ...@@ -97,7 +97,7 @@ pxa_timer_interrupt(int irq, void *dev_id)
static struct irqaction pxa_timer_irq = { static struct irqaction pxa_timer_irq = {
.name = "PXA Timer Tick", .name = "PXA Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = pxa_timer_interrupt, .handler = pxa_timer_interrupt,
}; };
......
...@@ -549,7 +549,7 @@ static irqreturn_t realview_timer_interrupt(int irq, void *dev_id) ...@@ -549,7 +549,7 @@ static irqreturn_t realview_timer_interrupt(int irq, void *dev_id)
static struct irqaction realview_timer_irq = { static struct irqaction realview_timer_irq = {
.name = "RealView Timer Tick", .name = "RealView Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = realview_timer_interrupt, .handler = realview_timer_interrupt,
}; };
......
...@@ -740,7 +740,7 @@ static void h3800_IRQ_demux(unsigned int irq, struct irq_desc *desc) ...@@ -740,7 +740,7 @@ static void h3800_IRQ_demux(unsigned int irq, struct irq_desc *desc)
static struct irqaction h3800_irq = { static struct irqaction h3800_irq = {
.name = "h3800_asic", .name = "h3800_asic",
.handler = h3800_IRQ_demux, .handler = h3800_IRQ_demux,
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
}; };
u32 kpio_int_shadow = 0; u32 kpio_int_shadow = 0;
......
...@@ -111,7 +111,7 @@ sa1100_timer_interrupt(int irq, void *dev_id) ...@@ -111,7 +111,7 @@ sa1100_timer_interrupt(int irq, void *dev_id)
static struct irqaction sa1100_timer_irq = { static struct irqaction sa1100_timer_irq = {
.name = "SA11xx Timer Tick", .name = "SA11xx Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = sa1100_timer_interrupt, .handler = sa1100_timer_interrupt,
}; };
......
...@@ -90,7 +90,7 @@ shark_timer_interrupt(int irq, void *dev_id) ...@@ -90,7 +90,7 @@ shark_timer_interrupt(int irq, void *dev_id)
static struct irqaction shark_timer_irq = { static struct irqaction shark_timer_irq = {
.name = "Shark Timer Tick", .name = "Shark Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = shark_timer_interrupt, .handler = shark_timer_interrupt,
}; };
......
...@@ -891,7 +891,7 @@ static irqreturn_t versatile_timer_interrupt(int irq, void *dev_id) ...@@ -891,7 +891,7 @@ static irqreturn_t versatile_timer_interrupt(int irq, void *dev_id)
static struct irqaction versatile_timer_irq = { static struct irqaction versatile_timer_irq = {
.name = "Versatile Timer Tick", .name = "Versatile Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = versatile_timer_interrupt, .handler = versatile_timer_interrupt,
}; };
......
...@@ -75,7 +75,7 @@ iop_timer_interrupt(int irq, void *dev_id) ...@@ -75,7 +75,7 @@ iop_timer_interrupt(int irq, void *dev_id)
static struct irqaction iop_timer_irq = { static struct irqaction iop_timer_irq = {
.name = "IOP Timer Tick", .name = "IOP Timer Tick",
.handler = iop_timer_interrupt, .handler = iop_timer_interrupt,
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
}; };
void __init iop_init_time(unsigned long tick_rate) void __init iop_init_time(unsigned long tick_rate)
......
...@@ -215,7 +215,7 @@ static irqreturn_t omap_32k_timer_interrupt(int irq, void *dev_id) ...@@ -215,7 +215,7 @@ static irqreturn_t omap_32k_timer_interrupt(int irq, void *dev_id)
static struct irqaction omap_32k_timer_irq = { static struct irqaction omap_32k_timer_irq = {
.name = "32KHz timer", .name = "32KHz timer",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = omap_32k_timer_interrupt, .handler = omap_32k_timer_interrupt,
}; };
......
...@@ -138,7 +138,7 @@ s3c2410_timer_interrupt(int irq, void *dev_id) ...@@ -138,7 +138,7 @@ s3c2410_timer_interrupt(int irq, void *dev_id)
static struct irqaction s3c2410_timer_irq = { static struct irqaction s3c2410_timer_irq = {
.name = "S3C2410 Timer Tick", .name = "S3C2410 Timer Tick",
.flags = IRQF_DISABLED | IRQF_TIMER, .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
.handler = s3c2410_timer_interrupt, .handler = s3c2410_timer_interrupt,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment