Commit 57f88947 authored by John Ogness's avatar John Ogness Committed by Michael Ellerman

powerpc/powermac: set IRQF_NO_THREAD for xmon/cascade handlers

The xmon and cascade irq handlers must not run as threads.
pmac_pic_lock is already a raw_spinlock, but the irq flag
IRQF_NO_THREAD needs to be set as well.
Signed-off-by: default avatarJohn Ogness <john.ogness@linutronix.de>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 87630eb1
...@@ -258,13 +258,14 @@ static unsigned int pmac_pic_get_irq(void) ...@@ -258,13 +258,14 @@ static unsigned int pmac_pic_get_irq(void)
#ifdef CONFIG_XMON #ifdef CONFIG_XMON
static struct irqaction xmon_action = { static struct irqaction xmon_action = {
.handler = xmon_irq, .handler = xmon_irq,
.flags = 0, .flags = IRQF_NO_THREAD,
.name = "NMI - XMON" .name = "NMI - XMON"
}; };
#endif #endif
static struct irqaction gatwick_cascade_action = { static struct irqaction gatwick_cascade_action = {
.handler = gatwick_action, .handler = gatwick_action,
.flags = IRQF_NO_THREAD,
.name = "cascade", .name = "cascade",
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment