]> git.itanic.dy.fi Git - linux-stable/commit
ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
authorNick Desaulniers <ndesaulniers@google.com>
Tue, 1 Jun 2021 19:29:26 +0000 (20:29 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 7 Jun 2021 11:56:22 +0000 (12:56 +0100)
commit8b95a7d90ce8160ac5cffd5bace6e2eba01a871e
treeeaf865aa1dd83e0dcef24e59383822753c810e20
parentad05f676525aefbf3d9123a525c8a58e05b2c88e
ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1

There's a few instructions that GAS infers operands but Clang doesn't;
from what I can tell the Arm ARM doesn't say these are optional.

F5.1.257 TBB, TBH T1 Halfword variant
F5.1.238 STREXD T1 variant
F5.1.84 LDREXD T1 variant

Link: https://github.com/ClangBuiltLinux/linux/issues/1309
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Jian Cai <jiancai@google.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/probes/kprobes/test-thumb.c