linux-mips
[Top] [All Lists]

[PATCH] mips: i8259: Mark cascade interrupt non-threaded

To: linux-mips@linux-mips.org
Subject: [PATCH] mips: i8259: Mark cascade interrupt non-threaded
From: Thomas Gleixner <tglx@linutronix.de>
Date: Mon, 12 Sep 2011 13:36:29 +0200 (CEST)
Cc: Ralf Baechle <ralf@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Alpine 2.02 (LFD 1266 2009-07-14)
From: Liming Wang <liming.wang@windriver.com>
Date: Fri, 26 Aug 2011 23:00:04 +0800

Cascade interrupts cannot be threaded.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: 
http://lkml.kernel.org/r/1314370804-21266-1-git-send-email-liming.wang@windriver.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/mips/kernel/i8259.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6/arch/mips/kernel/i8259.c
===================================================================
--- linux-2.6.orig/arch/mips/kernel/i8259.c
+++ linux-2.6/arch/mips/kernel/i8259.c
@@ -295,6 +295,7 @@ static void init_8259A(int auto_eoi)
 static struct irqaction irq2 = {
        .handler = no_action,
        .name = "cascade",
+       .flags = IRQF_NO_THREAD,
 };
 
 static struct resource pic1_io_resource = {

<Prev in Thread] Current Thread [Next in Thread>