MIPS: Idle: Re-enable irqs at the end of r3081, au1k and loongson2 cpu_wait.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 21 May 2013 12:05:27 +0000 (14:05 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 21 May 2013 23:34:26 +0000 (01:34 +0200)
commitfb40bc3e94933007d3e42e96daf1ec8044821cb8
tree417d3c2cbd639aa3ccc3f77cd019d962f7be08df
parentc9b6869dbb3c6edb24e3cc76d3655067cfa7b802
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>
arch/mips/kernel/idle.c
drivers/cpufreq/loongson2_cpufreq.c