powerpc: Mark low level irq handlers NO_THREAD
authorThomas Gleixner <tglx@linutronix.de>
Wed, 13 Feb 2013 22:38:51 +0000 (23:38 +0100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 06:55:08 +0000 (16:55 +1000)
These low level handlers cannot be threaded. Mark them NO_THREAD

Reported-by: leroy christophe <christophe.leroy@c-s.fr>
Tested-by: leroy christophe <christophe.leroy@c-s.fr>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/8xx/m8xx_setup.c
arch/powerpc/sysdev/cpm1.c

index 1e121088826fbd85316e076bcb1068a1706fba66..806cbbd86ec661fed502084c5cc514a06966185c 100644 (file)
@@ -43,6 +43,7 @@ static irqreturn_t timebase_interrupt(int irq, void *dev)
 
 static struct irqaction tbint_irqaction = {
        .handler = timebase_interrupt,
+       .flags = IRQF_NO_THREAD,
        .name = "tbint",
 };
 
index d4fa03f2b6acc93c20c25e4aad898145866fbf4b..5e6ff38ea69f197a873e9f47923d9f3434107221 100644 (file)
@@ -120,6 +120,7 @@ static irqreturn_t cpm_error_interrupt(int irq, void *dev)
 
 static struct irqaction cpm_error_irqaction = {
        .handler = cpm_error_interrupt,
+       .flags = IRQF_NO_THREAD,
        .name = "error",
 };