From: Ralf Baechle Date: Thu, 8 Aug 2013 08:49:29 +0000 (+0200) Subject: MIPS: BMIPS: Fix compilation for BMIPS5000 X-Git-Tag: v3.12-rc1~21^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43d309390349010cd384ab5a0feebf16b03b9a94;p=pandora-kernel.git MIPS: BMIPS: Fix compilation for BMIPS5000 Commit 02b849f7613003fe5f9e58bf233d49b0ebd4a5e8 ("MIPS: Get rid of the use of .macro in C code.") replaced the macro usage but missed the accessors in bmips.h, causing the following build error: CC arch/mips/kernel/smp-bmips.o {standard input}: Assembler messages: {standard input}:951: Error: Unrecognized opcode `_ssnop' {standard input}:952: Error: Unrecognized opcode `_ssnop' (...) make[6]: *** [arch/mips/kernel/smp-bmips.o] Error 1 Fix by rewriting the inline assembler using existing inline functions. The generated code should stay unchanged. Signed-off-by: Ralf Baechle Patchwork: https://patchwork.linux-mips.org/patch/5644/ Reviewed-by: Jonas Gorski --- Reading git-diff-tree failed