patch-1.3.50 linux/arch/sparc/kernel/setup.c

Next file: linux/drivers/block/Config.in
Previous file: linux/arch/ppc/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.49/linux/arch/sparc/kernel/setup.c linux/arch/sparc/kernel/setup.c
@@ -153,6 +153,7 @@
 
 
 char sparc_command_line[256];  /* Should be enough */
+char saved_command_line[256];
 enum sparc_cpu sparc_cpu_model;
 
 struct tt_entry *sparc_ttable;
@@ -166,6 +167,7 @@
 
 	/* Initialize PROM console and command line. */
 	*cmdline_p = prom_getbootargs();
+	strcpy(saved_command_line, *cmdline_p);
 
 	/* Set sparc_cpu_model */
 	sparc_cpu_model = sun_unknown;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this