MIPS: R2: Fix local_irq_save()
authorMaxime Bizon <mbizon@freebox.fr>
Tue, 20 Dec 2005 05:32:19 +0000 (06:32 +0100)
committer <ralf@denk.linux-mips.net> <>
Tue, 10 Jan 2006 13:39:08 +0000 (13:39 +0000)
commit15265251c5c68fbabdf561cf704e3e305349715a
tree9805638b9655e4ddcbbdb1c6472f7ba7ce797d60
parentd4ea001dd0912a14967266581601494d94a4c565
MIPS: R2: Fix local_irq_save()

local_irq_restore uses di which saves the whole status content, not
just the IE bit resulting in  local_irq_restore() to fail.  This only
happens if both CONFIG_CPU_MIPSR2 and CONFIG_IRQ_CPU are enabled.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/interrupt.h