Some archs do not need to do anything special for jump labels on startup (like MIPS). This patch adds a weak function stub for arch_jump_label_text_poke_early();
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -270,6 +270,13 @@ out: · 269 unmodified lines | |||
| 270 | return conflict; | 270 | return conflict; |
| 271 | } | 271 | } |
| 272 | 272 | ||
| 273 | /* | ||
| 274 | * Not all archs need this. | ||
| 275 | */ | ||
| 276 | void __weak arch_jump_label_text_poke_early(jump_label_t addr) | ||
| 277 | { | ||
| 278 | } | ||
| 279 | |||
| 273 | static __init int init_jump_label(void) | 280 | static __init int init_jump_label(void) |
| 274 | { | 281 | { |
| 275 | int ret; | 282 | int ret; |