]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
MIPS: BMIPS: Fix compilation for BMIPS5000
authorRalf Baechle <ralf@linux-mips.org>
Thu, 8 Aug 2013 08:49:29 +0000 (10:49 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Aug 2013 13:31:55 +0000 (15:31 +0200)
commit43d309390349010cd384ab5a0feebf16b03b9a94
tree679de335ae83b76ea9feefbcfcb535176b4f918c
parent7848ea79025d07a5b35bfebb700f11999e5be69e
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 <ralf@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/5644/
Reviewed-by: Jonas Gorski <jogo@openwrt.org>
arch/mips/include/asm/bmips.h