aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-10-18 15:30:03 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-10-25 13:12:36 +0100
commitae3d6978aa84f65376a790e23d3fb52fcc8346b2 (patch)
treee901494772fee45cb5e0bab819cc98609a7d4e9e /scripts/stackusage
parentARM: 9144/1: forbid ftrace with clang and thumb2_kernel (diff)
downloadlinux-ae3d6978aa84f65376a790e23d3fb52fcc8346b2.tar.gz
linux-ae3d6978aa84f65376a790e23d3fb52fcc8346b2.zip
ARM: 9145/1: patch: fix BE32 compilation
On BE32 kernels, the __opcode_to_mem_thumb32() interface is intentionally not defined, but it is referenced whenever runtime patching is enabled for the kernel, which may be for ftrace, jump label, kprobes or kgdb: arch/arm/kernel/patch.c: In function '__patch_text_real': arch/arm/kernel/patch.c:94:32: error: implicit declaration of function '__opcode_to_mem_thumb32' [-Werror=implicit-function-declaration] 94 | insn = __opcode_to_mem_thumb32(insn); | ^~~~~~~~~~~~~~~~~~~~~~~ Since BE32 kernels never run Thumb2 code, we never end up using the result of this call, so providing an extern declaration without a definition makes it build correctly. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
Anthony Yznaga5-6/+45 2017-09-09remove gperf left-overs from build systemLinus Torvalds1-9/+0 2017-09-08bpf: make error reporting in bpf_warn_invalid_xdp_action more clearDaniel Borkmann2-3/+7 2017-09-08Revert "mdio_bus: Remove unneeded gpiod NULL check"Florian Fainelli1-2/+4 2017-09-08bpf: devmap, use cond_resched instead of cpu_relaxJohn Fastabend1-1/+1 2017-09-08bpf: add support for sockmap detach programsJohn Fastabend4-16/+72 2017-09-08net: rcu lock and preempt disable missing around generic xdpJohn Fastabend1-9/+16 2017-09-08bpf: don't select potentially stale ri->map from buggy xdp progsDaniel Borkmann2-2/+35 2017-09-08net: tulip: Constify tulip_tblKees Cook2-2/+2 2017-09-08net: ethernet: ti: netcp_core: no need in netif_napi_delIvan Khoronzhuk1-1/+0 2017-09-08davicom: Display proper debug level up to 6Mathieu Malaterre1-1/+1 2017-09-08net: phy: sfp: rename dt properties to match the bindingBaruch Siach1-2/+2