summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-04-18 04:45:08 +0200
committerPaul Mundt <lethal@linux-sh.org>2011-04-27 07:35:44 +0200
commit442f56d917959cbc3fd7a56c5eb43b0d728cad26 (patch)
treea4a1ad48ac82b9264e8b0ec0de4c9686749a2e8a
parentgenirq: Add chip suspend and resume callbacks (diff)
downloadlinux-442f56d917959cbc3fd7a56c5eb43b0d728cad26.tar.xz
linux-442f56d917959cbc3fd7a56c5eb43b0d728cad26.zip
sh: intc: Set virtual IRQs as nothread.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--drivers/sh/intc/virq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/sh/intc/virq.c b/drivers/sh/intc/virq.c
index ce5f81d7cc6b..1e6e2d0353ea 100644
--- a/drivers/sh/intc/virq.c
+++ b/drivers/sh/intc/virq.c
@@ -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);