From: Jayachandran C Date: Sat, 23 Mar 2013 17:27:53 +0000 (+0000) Subject: MIPS: Netlogic: Optimize and fix write_c0_eimr() X-Git-Tag: v3.10-rc1~15^2~2^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33ff712aef509ff1b116a46084c96179f8da1d49;p=pandora-kernel.git 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 Patchwork: http://patchwork.linux-mips.org/patch/5022/ Acked-by: John Crispin --- Reading git-diff-tree failed