sh: intc: Set virtual IRQs as nothread.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 18 Apr 2011 02:45:08 +0000 (11:45 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Apr 2011 05:35:44 +0000 (14:35 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc/virq.c

index ce5f81d7cc6b859a7301c1929a127498e516ce58..1e6e2d0353ea52987e6ef25a5baf42173c0cea03 100644 (file)
@@ -235,6 +235,11 @@ restart:
 
                irq_set_handler_data(irq, (void *)entry->handle);
 
+               /*
+                * Set the virtual IRQ as non-threadable.
+                */
+               irq_set_nothread(irq);
+
                irq_set_chained_handler(entry->pirq, intc_virq_handler);
                add_virq_to_pirq(entry->pirq, irq);