From: Jens Rottmann Date: Mon, 5 Mar 2012 23:07:54 +0000 (-0800) Subject: cs5535-clockevt: Allow the MFGPT IRQ to be shared X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c0a239233331f7d6d2256dde80cb19fd6f9b3542;p=linux-beck.git cs5535-clockevt: Allow the MFGPT IRQ to be shared Shared timer IRQs are not a good solution, however the Geode platform has no APIC, IRQs are a scarce resource and there is no technical reason to forbid it rightaway. Increased latencies and overhead due to sharing are still better than a driver refusing to load. Signed-off-by: Jens Rottmann Acked-by: Andres Salomon Cc: John Stultz Signed-off-by: Andrew Morton Signed-off-by: Thomas Gleixner --- diff --git a/drivers/clocksource/cs5535-clockevt.c b/drivers/clocksource/cs5535-clockevt.c index 315a285136fa..540795cd0760 100644 --- a/drivers/clocksource/cs5535-clockevt.c +++ b/drivers/clocksource/cs5535-clockevt.c @@ -132,7 +132,7 @@ static irqreturn_t mfgpt_tick(int irq, void *dev_id) static struct irqaction mfgptirq = { .handler = mfgpt_tick, - .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER, + .flags = IRQF_DISABLED | IRQF_NOBALANCING | IRQF_TIMER | IRQF_SHARED, .name = DRV_NAME, };