summaryrefslogtreecommitdiff
path: root/security/lsm_syscalls.c
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@yoseli.org>2024-10-16 18:18:55 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2024-11-06 15:10:14 +0100
commit6070970db9fed2a8badd00eee767ce3b2888baad (patch)
treee41ded16fed0b173164efd60f7df5143e8b861af /security/lsm_syscalls.c
parent47bc874427382018fa2e3e982480e156271eee70 (diff)
m68k: Initialize jump labels early during setup_arch()
When using static keys early, e.g. by specifying "thread_backlog_napi" on the kernel command line: WARNING: CPU: 0 PID: 0 at include/linux/jump_label.h:322 setup_backlog_napi_threads+0x40/0xa0 static_key_enable(): static key '0x5ceec0' used before call to jump_label_init() The function jump_label_init() should be called from setup_arch() very early for proper functioning of jump label support. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@yoseli.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/20241016-fix-jump-label-v1-1-eb74c5f68405@yoseli.org [geert: Add reproducer] Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'security/lsm_syscalls.c')
0 files changed, 0 insertions, 0 deletions