Skip to content

Commit 9557e60

Browse files
committed
Merge tag 'x86-urgent-2021-11-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 build fix from Thomas Gleixner: "A single fix for a missing __init annotation of prepare_command_line()" * tag 'x86-urgent-2021-11-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/boot: Mark prepare_command_line() __init
2 parents 97891bb + c0f2077 commit 9557e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ dump_kernel_offset(struct notifier_block *self, unsigned long v, void *p)
742742
return 0;
743743
}
744744

745-
static char *prepare_command_line(void)
745+
static char * __init prepare_command_line(void)
746746
{
747747
#ifdef CONFIG_CMDLINE_BOOL
748748
#ifdef CONFIG_CMDLINE_OVERRIDE

0 commit comments

Comments
 (0)