summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/jump_label.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2021-11-23 08:04:34 +0100
committerPeter Zijlstra <peterz@infradead.org>2021-11-24 12:20:24 +0100
commitc0f2077baa4113f38f008b8e912b9fb3ff8d43df (patch)
tree967b37a65e50958adf411e988c9e6ac55a4a5cd9 /arch/x86/kernel/jump_label.c
parentLinux 5.16-rc2 (diff)
downloadlinux-c0f2077baa4113f38f008b8e912b9fb3ff8d43df.tar.xz
linux-c0f2077baa4113f38f008b8e912b9fb3ff8d43df.zip
x86/boot: Mark prepare_command_line() __init
Fix: WARNING: modpost: vmlinux.o(.text.unlikely+0x64d0): Section mismatch in reference \ from the function prepare_command_line() to the variable .init.data:command_line The function prepare_command_line() references the variable __initdata command_line. This is often because prepare_command_line lacks a __initdata annotation or the annotation of command_line is wrong. Apparently some toolchains do different inlining decisions. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/YZySgpmBcNNM2qca@zn.tnic
Diffstat (limited to 'arch/x86/kernel/jump_label.c')
0 files changed, 0 insertions, 0 deletions