]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Remove GCC_IMM_ASM & GCC_REG_ACCUM macros
authorPaul Burton <paul.burton@mips.com>
Wed, 7 Nov 2018 23:05:07 +0000 (23:05 +0000)
committerPaul Burton <paul.burton@mips.com>
Thu, 8 Nov 2018 00:25:30 +0000 (16:25 -0800)
commit0bc4b39b809408b8eca97e1140005d5e24a52c36
tree42514557ab6e1118e0256e79b357122401a7ffee
parenteae00bb1a0d88b2ea2c18f6fbd3ca87f86b19294
MIPS: Remove GCC_IMM_ASM & GCC_REG_ACCUM macros

asm/compiler.h defined GCC_IMM_ASM & GCC_REG_ACCUM macros, both of which
are defined differently for GCC pre-3.4 or GCC 3.4 & higher. We only
support building with GCC 4.6 & higher since commit f82eb0db44c7 ("Raise
the minimum required gcc version to 4.6"), which makes the pre-3.4
definition dead code.

Rather than leave the macro definitions around, inline the GCC 3.4 &
higher definitions into the single file that uses them & remove the
macros entirely.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21000/
Cc: linux-mips@linux-mips.org
arch/mips/include/asm/compiler.h
arch/mips/kernel/cpu-bugs64.c