Browse Source

sh: intc: Set virtual IRQs as nothread.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 14 năm trước cách đây
mục cha
commit
442f56d917
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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);