MIPS: Fix gigaton of warning building with microMIPS.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 30 Mar 2014 11:20:10 +0000 (13:20 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 31 Mar 2014 16:17:12 +0000 (18:17 +0200)
commita809d46066d5171ed446d59a51cd1e57d99fcfc3
treeede5e0f23d1577da4685034894f66f1de2529937
parent30ee615bb86ba640c9ec7f85fb95c1b0e31c41be
MIPS: Fix gigaton of warning building with microMIPS.

With binutils 2.24 the attempt to switch with microMIPS mode to MIPS III
mode through .set mips3 results in *lots* of warnings like

{standard input}: Assembler messages:
{standard input}:397: Warning: the 64-bit MIPS architecture does not support the `smartmips' extension

during a kernel build.  Fixed by using .set arch=r4000 instead.

This breaks support for building the kernel with binutils 2.13 which
was supported for 32 bit kernels only anyway and 2.14 which was a bad
vintage for MIPS anyway.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
18 files changed:
arch/mips/alchemy/common/sleeper.S
arch/mips/include/asm/asm.h
arch/mips/include/asm/atomic.h
arch/mips/include/asm/bitops.h
arch/mips/include/asm/cmpxchg.h
arch/mips/include/asm/futex.h
arch/mips/include/asm/io.h
arch/mips/include/asm/local.h
arch/mips/include/asm/mach-pmcs-msp71xx/msp_regops.h
arch/mips/include/asm/r4kcache.h
arch/mips/include/asm/stackframe.h
arch/mips/kernel/bmips_vec.S
arch/mips/kernel/genex.S
arch/mips/kernel/idle.c
arch/mips/kernel/r4k_fpu.S
arch/mips/kernel/r4k_switch.S
arch/mips/kernel/syscall.c
arch/mips/pmcs-msp71xx/msp_setup.c