mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
ca8e45c804
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: |
||
---|---|---|
.. | ||
asm | ||
uapi/asm |