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 315a285136fa9eebbf24aba58feb223aec0f416d..540795cd0760b434e53c0b10afd41d295892c836 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,
 };