aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorBorislav Petkov2021-12-13 12:27:55 +0100
committerBorislav Petkov2021-12-15 11:14:28 +0100
commit58e138d62476fc5f889252dcf73848beeaa54789 (patch)
tree0d1b477c1423efaf4ff96b9964c34a5a79b9be18 /arch/x86
parent2585cf9dfaaddf00b069673f27bb3f8530e2039c (diff)
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/x86')
-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