diff options
author | Jayachandran C <jchandra@broadcom.com> | 2013-03-23 17:27:53 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-08 01:19:04 +0200 |
commit | 33ff712aef509ff1b116a46084c96179f8da1d49 (patch) | |
tree | 2ea35165158d82337ad19c57a7dfa88ea97d0b75 /arch/mips/include/asm/netlogic/xlr | |
parent | 042df4fa28a459ac425cea9bc81764532c267ba4 (diff) | |
download | blackbird-op-linux-33ff712aef509ff1b116a46084c96179f8da1d49.tar.gz blackbird-op-linux-33ff712aef509ff1b116a46084c96179f8da1d49.zip |
MIPS: Netlogic: Optimize and fix write_c0_eimr()
Remove the irq save/restore from write_c0_eimr(), as it is always called
with interrupts off.
This allows us to remove workaround in write_c0_eimr() to fix up the
flags used by local_irq_save. This fixup worked on XLR, but will break
when 32-bit support is added to r2 cpus like XLP.
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/5022/
Acked-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/include/asm/netlogic/xlr')
0 files changed, 0 insertions, 0 deletions