hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/sparc/kernel/leon_pmc.c
....@@ -50,7 +50,7 @@
5050 register unsigned int address = (unsigned int)leon3_irqctrl_regs;
5151
5252 /* Interrupts need to be enabled to not hang the CPU */
53
- local_irq_enable();
53
+ raw_local_irq_enable();
5454
5555 __asm__ __volatile__ (
5656 "wr %%g0, %%asr19\n"
....@@ -66,7 +66,7 @@
6666 static void pmc_leon_idle(void)
6767 {
6868 /* Interrupts need to be enabled to not hang the CPU */
69
- local_irq_enable();
69
+ raw_local_irq_enable();
7070
7171 /* For systems without power-down, this will be no-op */
7272 __asm__ __volatile__ ("wr %g0, %asr19\n\t");