Skip to content

Commit

Permalink
powerpc/wsp: Mark opb cascade handler IRQF_NO_THREAD
Browse files Browse the repository at this point in the history
Cascade handlers must run in hard interrupt context.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Thomas Gleixner authored and Benjamin Herrenschmidt committed Nov 25, 2011
1 parent c6c56bd commit 5f20b85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/powerpc/platforms/wsp/opb_pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ void __init opb_pic_init(void)
}

/* Attach opb interrupt handler to new virtual IRQ */
rc = request_irq(virq, opb_irq_handler, 0, "OPB LS Cascade", opb);
rc = request_irq(virq, opb_irq_handler, IRQF_NO_THREAD,
"OPB LS Cascade", opb);
if (rc) {
printk("opb: request_irq failed: %d\n", rc);
continue;
Expand Down

0 comments on commit 5f20b85

Please sign in to comment.