summaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-04-18 11:45:08 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-04-27 14:35:44 +0900
commit442f56d917959cbc3fd7a56c5eb43b0d728cad26 (patch)
treea4a1ad48ac82b9264e8b0ec0de4c9686749a2e8a /drivers/sh
parentcfefd21e693dca791bf9ecfc9dd3794facad533c (diff)
downloadlinux-442f56d917959cbc3fd7a56c5eb43b0d728cad26.tar.gz
linux-442f56d917959cbc3fd7a56c5eb43b0d728cad26.tar.bz2
linux-442f56d917959cbc3fd7a56c5eb43b0d728cad26.zip
sh: intc: Set virtual IRQs as nothread.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh')
-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);