summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2021-12-13 12:27:55 +0100
committerBorislav Petkov <bp@suse.de>2021-12-15 11:14:28 +0100
commit58e138d62476fc5f889252dcf73848beeaa54789 (patch)
tree0d1b477c1423efaf4ff96b9964c34a5a79b9be18 /arch
parentLinux 5.16-rc5 (diff)
downloadlinux-58e138d62476fc5f889252dcf73848beeaa54789.tar.xz
linux-58e138d62476fc5f889252dcf73848beeaa54789.zip
Revert "x86/boot: Mark prepare_command_line() __init"
This reverts commit c0f2077baa4113f38f008b8e912b9fb3ff8d43df. Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20211213112757.2612-2-bp@alien8.de
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 6a190c7f4d71..c410be738ae7 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -742,7 +742,7 @@ dump_kernel_offset(struct notifier_block *self, unsigned long v, void *p)
return 0;
}
-static char * __init prepare_command_line(void)
+static char *prepare_command_line(void)
{
#ifdef CONFIG_CMDLINE_BOOL
#ifdef CONFIG_CMDLINE_OVERRIDE