Cascade handlers must run in hard interrupt context.

Signed-off-by: Thomas Gleixner <t...@linutronix.de>
---
 arch/powerpc/platforms/wsp/opb_pic.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6/arch/powerpc/platforms/wsp/opb_pic.c
===================================================================
--- linux-2.6.orig/arch/powerpc/platforms/wsp/opb_pic.c
+++ linux-2.6/arch/powerpc/platforms/wsp/opb_pic.c
@@ -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;


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to