| .. | .. |
|---|
| 50 | 50 | register unsigned int address = (unsigned int)leon3_irqctrl_regs; |
|---|
| 51 | 51 | |
|---|
| 52 | 52 | /* Interrupts need to be enabled to not hang the CPU */ |
|---|
| 53 | | - local_irq_enable(); |
|---|
| 53 | + raw_local_irq_enable(); |
|---|
| 54 | 54 | |
|---|
| 55 | 55 | __asm__ __volatile__ ( |
|---|
| 56 | 56 | "wr %%g0, %%asr19\n" |
|---|
| .. | .. |
|---|
| 66 | 66 | static void pmc_leon_idle(void) |
|---|
| 67 | 67 | { |
|---|
| 68 | 68 | /* Interrupts need to be enabled to not hang the CPU */ |
|---|
| 69 | | - local_irq_enable(); |
|---|
| 69 | + raw_local_irq_enable(); |
|---|
| 70 | 70 | |
|---|
| 71 | 71 | /* For systems without power-down, this will be no-op */ |
|---|
| 72 | 72 | __asm__ __volatile__ ("wr %g0, %asr19\n\t"); |
|---|