aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r--arch/m68k/kernel/setup_mm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/kernel/setup_mm.c b/arch/m68k/kernel/setup_mm.c
index c3b45061dd08..55f8f5049f68 100644
--- a/arch/m68k/kernel/setup_mm.c
+++ b/arch/m68k/kernel/setup_mm.c
@@ -258,6 +258,10 @@ void __init setup_arch(char **cmdline_p)
258 init_mm.end_data = (unsigned long)_edata; 258 init_mm.end_data = (unsigned long)_edata;
259 init_mm.brk = (unsigned long)_end; 259 init_mm.brk = (unsigned long)_end;
260 260
261#if defined(CONFIG_BOOTPARAM)
262 strncpy(m68k_command_line, CONFIG_BOOTPARAM_STRING, CL_SIZE);
263 m68k_command_line[CL_SIZE - 1] = 0;
264#endif /* CONFIG_BOOTPARAM */
261 *cmdline_p = m68k_command_line; 265 *cmdline_p = m68k_command_line;
262 memcpy(boot_command_line, *cmdline_p, CL_SIZE); 266 memcpy(boot_command_line, *cmdline_p, CL_SIZE);
263 267