patch-1.3.53 linux/arch/ppc/kernel/setup.c

Next file: linux/arch/ppc/kernel/stubs.c
Previous file: linux/arch/ppc/kernel/raw_printf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.52/linux/arch/ppc/kernel/setup.c linux/arch/ppc/kernel/setup.c
@@ -134,9 +134,6 @@
 
 #define DEFAULT_ROOT_DEVICE 0x0200	/* fd0 */
 
-#define COMMAND_LINE_SIZE 512	/* Should match head.S */
-char saved_command_line[COMMAND_LINE_SIZE];
-
 void setup_arch(char **cmdline_p,
 	unsigned long * memory_start_p, unsigned long * memory_end_p)
 {
@@ -146,7 +143,6 @@
 
 	ROOT_DEV = DEFAULT_ROOT_DEVICE;
 	aux_device_present = 0xaa;
-	strcpy(saved_command_line, cmd_line);
 	*cmdline_p = cmd_line;
 	*memory_start_p = (unsigned long) &_end;
 	*memory_end_p = (unsigned long *)Hash;

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