diff options
author | Jayachandran C <[email protected]> | 2013-03-23 17:27:53 +0000 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2013-05-08 01:19:04 +0200 |
commit | 33ff712aef509ff1b116a46084c96179f8da1d49 (patch) | |
tree | 2ea35165158d82337ad19c57a7dfa88ea97d0b75 /include/linux/fpga/fpga-mgr.h | |
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 <[email protected]>
Patchwork: http://patchwork.linux-mips.org/patch/5022/
Acked-by: John Crispin <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions