diff options
author | Stefan Agner <stefan@agner.ch> | 2020-02-21 23:35:08 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-03-12 11:29:02 +0000 |
commit | 91274f962e942c23c97ba7e4c7fa04277c533a45 (patch) | |
tree | c6dc51f392fab8a601c396c7680f0e2297e062fd /arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | |
parent | 3c14fe70be3ed2224f8bbd70506dbf0c8a17de02 (diff) |
ARM: 8962/1: kexec: drop invalid assembly argument
The tst menomic has only a single #<const> argument in Thumb mode. There
is an ARM variant which allows to write #<const> as #<byte>, #<rot>
which probably is where the current syntax comes from.
It seems that binutils does not care about the additional parameter.
Clang however complains in Thumb2 mode:
arch/arm/kernel/relocate_kernel.S:28:12: error: too many operands for
instruction
tst r3,#1,0
^
Drop the unnecessary parameter. This fixes building this file in Thumb2
mode with the Clang integrated assembler.
Link: https://github.com/ClangBuiltLinux/linux/issues/770
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c')
0 files changed, 0 insertions, 0 deletions