diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2021-02-16 22:14:46 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2021-03-25 13:27:39 +0300 |
commit | e9d54be9ad5ee2eed3056d8901ac4b3b115d95a5 (patch) | |
tree | e06d4dd3021985343c4df2e0c237e7342e5f619b /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 08cbcb9702566a3c2c2af3a1e5899b72c162f45d (diff) | |
download | linux-e9d54be9ad5ee2eed3056d8901ac4b3b115d95a5.tar.xz |
ARM: 9061/1: kprobes: fix UNPREDICTABLE warnings
GNU as warns twice for this file:
Warning: using r15 results in unpredictable behaviour
via the Arm ARM:
K1.1.1 Overview of the constraints on Armv7 UNPREDICTABLE behaviors
The term UNPREDICTABLE describes a number of cases where the
architecture has a feature that software must not use.
Ard notes:
These are selftests that aim to ensure that kprobe never attempts to
replace the opcodes in question with a probe, but they are not
actually executed, or expected to occur in real code.
Link: https://github.com/ClangBuiltLinux/linux/issues/1271
Link: https://reviews.llvm.org/D95586
Reported-by: kernelci.org bot <bot@kernelci.org>
Suggested-by: Peter Smith <peter.smith@arm.com>
Suggested-by: Renato Golin <rengolin@systemcall.eu>
Suggested-by: David Spickett <david.spickett@linaro.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions