summaryrefslogtreecommitdiff
path: root/tools/time
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-11-07 00:02:59 +0300
committerArnd Bergmann <arnd@arndb.de>2023-11-23 13:32:32 +0300
commitca8e45c8048a2c9503c74751d25414601f730580 (patch)
tree44b8b67f320c112fb281508ff59ff98106f74016 /tools/time
parent23f8c1823bd4041064ab557283dbb37657549c5b (diff)
downloadlinux-ca8e45c8048a2c9503c74751d25414601f730580.tar.xz
csky: fix arch_jump_label_transform_static override
The arch_jump_label_transform_static() function in csky was originally meant to override the generic __weak function, but that got changed to an #ifndef check. This showed up as a missing-prototype warning: arch/csky/kernel/jump_label.c:43:6: error: no previous prototype for 'arch_jump_label_transform_static' [-Werror=missing-prototypes] Change the method to use the new method of having a #define and a prototype for the global function. Fixes: 7e6b9db27de9 ("jump_label: make initial NOP patching the special case") Fixes: 4e8bb4ba5a55 ("csky: Add jump-label implementation") Reviewed-by: Guo Ren <guoren@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'tools/time')
0 files changed, 0 insertions, 0 deletions