浏览代码

powerpc: Mark low level irq handlers NO_THREAD

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>
Thomas Gleixner 12 年之前
父节点
当前提交
e80034047b
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      arch/powerpc/platforms/8xx/m8xx_setup.c
  2. 1 0
      arch/powerpc/sysdev/cpm1.c

+ 1 - 0
arch/powerpc/platforms/8xx/m8xx_setup.c

@@ -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",
 };
 

+ 1 - 0
arch/powerpc/sysdev/cpm1.c

@@ -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",
 };