commit | 33ff712aef509ff1b116a46084c96179f8da1d49 | [log] [tgz] |
---|---|---|
author | Jayachandran C <jchandra@broadcom.com> | Sat Mar 23 17:27:53 2013 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed May 08 01:19:04 2013 +0200 |
tree | 2ea35165158d82337ad19c57a7dfa88ea97d0b75 | |
parent | 042df4fa28a459ac425cea9bc81764532c267ba4 [diff] |
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>