Skip to content

Commit 950312c

Browse files
Andrew Randrianasuluralfbaechle
authored andcommitted
MIPS: IP32: Fix hang on shutdown in power button interrupt handler.
The hang was caused by the use of disable_irq() from the interrupt handler itself. Fixed by the use of disable_irq_nosync(). The issue was triggered by: commit 3aa551c Author: Thomas Gleixner <[email protected]> Date: Mon Mar 23 18:28:15 2009 +0100 genirq: add threaded interrupt handler support Signed-off-by: Ralf Baechle <[email protected]>
1 parent 279e677 commit 950312c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/sgi-ip32/ip32-reset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ static irqreturn_t ip32_rtc_int(int irq, void *dev_id)
145145
"%s: RTC IRQ without RTC_IRQF\n", __func__);
146146
}
147147
/* Wait until interrupt goes away */
148-
disable_irq(MACEISA_RTC_IRQ);
148+
disable_irq_nosync(MACEISA_RTC_IRQ);
149149
init_timer(&debounce_timer);
150150
debounce_timer.function = debounce;
151151
debounce_timer.expires = jiffies + 50;

0 commit comments

Comments
 (0)