summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2011-04-18 02:45:08 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2011-04-27 05:35:44 (GMT)
commit442f56d917959cbc3fd7a56c5eb43b0d728cad26 (patch)
treea4a1ad48ac82b9264e8b0ec0de4c9686749a2e8a /drivers
parentcfefd21e693dca791bf9ecfc9dd3794facad533c (diff)
downloadlinux-442f56d917959cbc3fd7a56c5eb43b0d728cad26.tar.xz
sh: intc: Set virtual IRQs as nothread.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers')
-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 ce5f81d..1e6e2d0 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);