SOURCES (LINUX_2_6_14): linux-2.6.14.7-MAX_INIT_ARGS.patch (NEW) -...

mguevara mguevara at pld-linux.org
Tue Feb 21 16:01:33 CET 2006


Author: mguevara                     Date: Tue Feb 21 15:01:33 2006 GMT
Module: SOURCES                       Tag: LINUX_2_6_14
---- Log message:
- 2.6.14.7 replacement for kernel-MAX_INIT_ARGS.patch

---- Files affected:
SOURCES:
   linux-2.6.14.7-MAX_INIT_ARGS.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/linux-2.6.14.7-MAX_INIT_ARGS.patch
diff -u /dev/null SOURCES/linux-2.6.14.7-MAX_INIT_ARGS.patch:1.1.2.1
--- /dev/null	Tue Feb 21 16:01:33 2006
+++ SOURCES/linux-2.6.14.7-MAX_INIT_ARGS.patch	Tue Feb 21 16:01:27 2006
@@ -0,0 +1,56 @@
+--- linux-2.6.7/include/asm-i386/param.h.orig	2004-07-03 16:56:41.000000000 +0200
++++ linux-2.6.7/include/asm-i386/param.h	2004-07-03 19:10:53.358244832 +0200
+@@ -18,6 +18,6 @@
+ #endif
+ 
+ #define MAXHOSTNAMELEN	64	/* max length of hostname */
+-#define COMMAND_LINE_SIZE 256
++#define COMMAND_LINE_SIZE 4096
+ 
+ #endif
+diff -Nur --exclude '*.orig' linux-2.6.7-rc3.org/include/asm-i386/setup.h linux-2.6.7-rc3/include/asm-i386/setup.h
+--- linux-2.6.7-rc3.org/include/asm-i386/setup.h	2004-06-07 21:14:42.000000000 +0200
++++ linux-2.6.7-rc3/include/asm-i386/setup.h	2004-06-08 11:29:19.000000000 +0200
+@@ -17,7 +17,7 @@
+ #define MAX_NONPAE_PFN	(1 << 20)
+ 
+ #define PARAM_SIZE 4096
+-#define COMMAND_LINE_SIZE 256
++#define COMMAND_LINE_SIZE 4096
+ 
+ #define OLD_CL_MAGIC_ADDR	0x90020
+ #define OLD_CL_MAGIC		0xA33F
+diff -Nur --exclude '*.orig' linux-2.6.7-rc3.org/include/asm-s390/setup.h linux-2.6.7-rc3/include/asm-s390/setup.h
+--- linux-2.6.7-rc3.org/include/asm-s390/setup.h	2004-06-07 21:14:58.000000000 +0200
++++ linux-2.6.7-rc3/include/asm-s390/setup.h	2004-06-08 11:30:38.000000000 +0200
+@@ -9,7 +9,7 @@
+ #define _ASM_S390_SETUP_H
+ 
+ #define PARMAREA		0x10400
+-#define COMMAND_LINE_SIZE 	896
++#define COMMAND_LINE_SIZE 	4096
+ #define RAMDISK_ORIGIN		0x800000
+ #define RAMDISK_SIZE		0x800000
+ 
+--- linux-2.6.7/arch/ppc/syslib/prom.c.orig	2004-07-06 17:53:30.000000000 +0200
++++ linux-2.6.7/arch/ppc/syslib/prom.c	2004-07-06 17:55:57.781770776 +0200
+@@ -85,7 +85,7 @@
+ extern void enter_rtas(void *);
+ void phys_call_rtas(int, int, int, ...);
+ 
+-extern char cmd_line[512];	/* XXX */
++extern char cmd_line[COMMAND_LINE_SIZE];
+ extern boot_infos_t *boot_infos;
+ unsigned long dev_tree_size;
+ 
+--- linux-2.6.14.7/include/asm-powerpc/setup.h.orig 2006-02-21 15:54:34.000000000 +0100
++++ linux-2.6.14.7/include/asm-powerpc/setup.h	2006-02-21 15:55:43.000000000 +0100
+@@ -3,7 +3,7 @@
+ 
+ #ifdef __KERNEL__
+ 
+-#define COMMAND_LINE_SIZE	512
++#define COMMAND_LINE_SIZE	4096
+ 
+ #endif	/* __KERNEL__ */
+ #endif	/* _ASM_POWERPC_SETUP_H */
================================================================


More information about the pld-cvs-commit mailing list