Arnd Bergmann ca8e45c804 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>
2023-11-23 11:32:32 +01:00
..
2021-02-27 22:04:14 +08:00
2021-04-20 09:58:29 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-01-12 09:52:40 +08:00
2021-02-27 22:04:14 +08:00
2018-10-26 00:54:22 +08:00
2022-07-31 05:24:42 -04:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2023-08-10 22:12:49 -04:00
2022-07-22 17:34:57 -05:00
2021-02-27 22:04:14 +08:00
2023-08-31 12:20:12 -07:00
2020-04-03 11:14:17 +08:00
2018-10-26 00:54:26 +08:00
2021-02-27 22:04:14 +08:00
2022-07-31 05:24:42 -04:00
2022-07-31 05:24:42 -04:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2021-02-27 22:04:14 +08:00
2022-02-25 09:36:06 +01:00
2022-07-21 10:50:13 -07:00
2021-02-27 22:04:14 +08:00
2023-11-23 11:32:32 +01:00
2022-02-25 09:36:06 +01:00
2021-02-27 22:04:14 +08:00
2020-04-03 11:37:51 +08:00
2021-04-20 09:58:29 +08:00