diff options
Diffstat (limited to 'arch/sparc/kernel/leon_pmc.c')
| -rw-r--r-- | arch/sparc/kernel/leon_pmc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/arch/sparc/kernel/leon_pmc.c b/arch/sparc/kernel/leon_pmc.c index 065e2d4b7290..396f46bca52e 100644 --- a/arch/sparc/kernel/leon_pmc.c +++ b/arch/sparc/kernel/leon_pmc.c @@ -50,7 +50,7 @@ static void pmc_leon_idle_fixup(void)  	register unsigned int address = (unsigned int)leon3_irqctrl_regs;  	/* Interrupts need to be enabled to not hang the CPU */ -	local_irq_enable(); +	raw_local_irq_enable();  	__asm__ __volatile__ (  		"wr	%%g0, %%asr19\n" @@ -66,7 +66,7 @@ static void pmc_leon_idle_fixup(void)  static void pmc_leon_idle(void)  {  	/* Interrupts need to be enabled to not hang the CPU */ -	local_irq_enable(); +	raw_local_irq_enable();  	/* For systems without power-down, this will be no-op */  	__asm__ __volatile__ ("wr	%g0, %asr19\n\t"); | 
