OrangePi_CM5/arch/mips/include/asm/mach-loongson64
Nathan Chancellor c330442f46 MIPS: Loongson64: Use three arguments for slti
[ Upstream commit f2c6c22fa83ab2577619009057b3ebcb5305bb03 ]

LLVM's integrated assembler does not support 'slti <reg>, <imm>':

<instantiation>:16:12: error: invalid operand for instruction
 slti $12, (0x6300 | 0x0008)
           ^
arch/mips/kernel/head.S:86:2: note: while in macro instantiation
 kernel_entry_setup # cpu specific setup
 ^
<instantiation>:16:12: error: invalid operand for instruction
 slti $12, (0x6300 | 0x0008)
           ^
arch/mips/kernel/head.S:150:2: note: while in macro instantiation
 smp_slave_setup
 ^

To increase compatibility with LLVM's integrated assembler, use the full
form of 'slti <reg>, <reg>, <imm>', which matches the rest of
arch/mips/. This does not result in any change for GNU as.

Link: https://github.com/ClangBuiltLinux/linux/issues/1526
Reported-by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 10:54:22 +01:00
..
boot_param.h MIPS: KVM: Add kvm guest support for Loongson-3 2020-08-04 09:39:29 +02:00
builtin_dtbs.h MIPS: KVM: Add kvm guest support for Loongson-3 2020-08-04 09:39:29 +02:00
cpu-feature-overrides.h MIPS: Loongson64: Do not override watch and ejtag feature 2020-08-17 12:50:59 +02:00
cpucfg-emul.h MIPS: Loongson64: Guard against future cores without CPUCFG 2020-05-31 10:52:42 +02:00
irq.h MIPS updates for v5.10: 2020-10-16 12:40:55 -07:00
kernel-entry-init.h MIPS: Loongson64: Use three arguments for slti 2022-01-27 10:54:22 +01:00
loongson.h MIPS: Loongson64: Load built-in dtbs 2020-03-25 16:07:12 +01:00
loongson_hwmon.h
…
loongson_regs.h MIPS: Loongson64: define offsets and known revisions for some CPUCFG features 2020-05-17 10:26:37 +02:00
mmzone.h MIPS updates for v5.10: 2020-10-16 12:40:55 -07:00
pci.h MIPS: Loongson64: Cleanup unused code 2019-11-01 14:31:28 -07:00
spaces.h MIPS: Loongson64: Enlarge IO_SPACE_LIMIT 2020-07-28 22:49:53 +02:00
topology.h MIPS: Loongson64: Cleanup unused code 2019-11-01 14:31:28 -07:00
workarounds.h
…