Parcourir la source

sh: intc: Set virtual IRQs as nothread.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt il y a 14 ans
Parent
commit
442f56d917
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      drivers/sh/intc/virq.c

+ 5 - 0
drivers/sh/intc/virq.c

@@ -235,6 +235,11 @@ static void __init intc_subgroup_map(struct intc_desc_int *d)
 
 		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);