Ver Fonte

sh: intc: Set virtual IRQs as nothread.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt há 14 anos atrás
pai
commit
442f56d917
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      drivers/sh/intc/virq.c

+ 5 - 0
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);