[patch 3/7] Add IRQF_IRQPOLL_IRQ flag on x86_64

From: Bernhard Walle
Date: Fri Mar 23 2007 - 15:03:10 EST


Add IRQF_IRQPOLL_IRQ for the timer interrupt on x86_64.

Signed-off-by: Bernhard Walle <bwalle@xxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
---
arch/x86_64/kernel/time.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Index: linux-2.6.21-rc4-mm1/arch/x86_64/kernel/time.c
===================================================================
--- linux-2.6.21-rc4-mm1.orig/arch/x86_64/kernel/time.c
+++ linux-2.6.21-rc4-mm1/arch/x86_64/kernel/time.c
@@ -317,7 +317,10 @@ void __init stop_timer_interrupt(void)
}

static struct irqaction irq0 = {
- timer_interrupt, IRQF_DISABLED, CPU_MASK_NONE, "timer", NULL, NULL
+ .handler = timer_interrupt,
+ .flags = IRQF_DISABLED | IRQF_IRQPOLL_IRQ,
+ .mask = CPU_MASK_NONE,
+ .name = "timer"
};

void __init time_init(void)

--
-
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/