]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: set mips32r5 for virt extensions
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 28 Jun 2021 21:50:26 +0000 (14:50 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 29 Jun 2021 08:23:57 +0000 (10:23 +0200)
commit58253209f87574c8dbcf9ae92585cac703cb0026
tree9619d10060145a32c7781b7bc6b77a50c9a90383
parent0943c8db4b0f2f3e790836209474c4a524f2ef93
MIPS: set mips32r5 for virt extensions

Clang's integrated assembler only accepts these instructions when the
cpu is set to mips32r5. With this change, we can assemble
malta_defconfig with Clang via `make LLVM_IAS=1`.

Link: https://github.com/ClangBuiltLinux/linux/issues/763
Reported-by: Dmitry Golovin <dima@golovin.in>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/mipsregs.h