cs5535-clockevt: Allow the MFGPT IRQ to be shared
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>
Mon, 5 Mar 2012 23:07:54 +0000 (15:07 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 6 Mar 2012 13:17:45 +0000 (14:17 +0100)
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 <JRottmann@LiPPERTEmbedded.de>
Acked-by: Andres Salomon <dilinger@queued.net>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/clocksource/cs5535-clockevt.c

index 315a285..540795c 100644 (file)
@@ -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,
 };