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)
commitc994a3ec7ecc8bd2a837b2061e8a76eb8efc082b
tree9619d10060145a32c7781b7bc6b77a50c9a90383
parent6817c944430d00f71ccaa9c99ff5b0096aeb7873
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