aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2023-07-27 13:26:08 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2023-07-27 13:27:22 +1000
commit128ee4a7fd47e271e76532ce4b75bd24e04a2f8f (patch)
tree425cc28f53da1f581caf7ffe36f58555b7d21612
parent09d847422ec79888823322ba867e28c6a586eafa (diff)
fix up for "fs/proc: Add /proc/cmdline_load for boot loader arguments"
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r--include/linux/init.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/init.h b/include/linux/init.h
index e3ce68988e1b..c075983c5015 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -113,8 +113,6 @@
#ifndef __ASSEMBLY__
-#include <linux/cache.h>
-
/*
* Used for initialization calls..
*/
@@ -146,7 +144,7 @@ struct file_system_type;
/* Defined in init/main.c */
extern int do_one_initcall(initcall_t fn);
-extern char boot_command_line[] __ro_after_init;
+extern char boot_command_line[];
extern char *saved_command_line;
extern unsigned int saved_command_line_len;
extern unsigned int reset_devices;