diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-05-21 14:05:27 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-22 01:34:26 +0200 |
commit | fb40bc3e94933007d3e42e96daf1ec8044821cb8 (patch) | |
tree | 417d3c2cbd639aa3ccc3f77cd019d962f7be08df /arch | |
parent | MIPS: Idle: Make call of function pointer readable. (diff) | |
download | linux-fb40bc3e94933007d3e42e96daf1ec8044821cb8.tar.xz linux-fb40bc3e94933007d3e42e96daf1ec8044821cb8.zip |
MIPS: Idle: Re-enable irqs at the end of r3081, au1k and loongson2 cpu_wait.
Without this, the
WARN_ON_ONCE(irqs_disabled());
in the idle loop will be triggered.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/idle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/idle.c b/arch/mips/kernel/idle.c index 36e79f528e89..78cc7d6fc845 100644 --- a/arch/mips/kernel/idle.c +++ b/arch/mips/kernel/idle.c @@ -34,6 +34,7 @@ static void r3081_wait(void) { unsigned long cfg = read_c0_conf(); write_c0_conf(cfg | R30XX_CONF_HALT); + local_irq_enable(); } static void r39xx_wait(void) @@ -109,6 +110,7 @@ static void au1k_wait(void) " nop \n" " .set mips0 \n" : : "r" (au1k_wait)); + local_irq_enable(); } static int __initdata nowait; |