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/D95586Reported-by: Nkernelci.org bot <bot@kernelci.org> Suggested-by: NPeter Smith <peter.smith@arm.com> Suggested-by: NRenato Golin <rengolin@systemcall.eu> Suggested-by: NDavid Spickett <david.spickett@linaro.org> Acked-by: NArd Biesheuvel <ardb@kernel.org> Signed-off-by: NNick Desaulniers <ndesaulniers@google.com> Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
Showing
想要评论请 注册 或 登录