]> git.pld-linux.org Git - packages/kernel.git/blame - kernel-MAX_INIT_ARGS.patch
- minor fix. it builds but linking needs fix.
[packages/kernel.git] / kernel-MAX_INIT_ARGS.patch
CommitLineData
9166c885 1--- linux-2.6.7-rc2/init/main.c.org 2004-06-04 12:58:31.000000000 +0200
2+++ linux-2.6.7-rc2/init/main.c 2004-06-04 13:43:02.000000000 +0200
3@@ -103,8 +103,8 @@
4 /*
5 * Boot command-line arguments
6 */
7-#define MAX_INIT_ARGS 8
8-#define MAX_INIT_ENVS 8
9+#define MAX_INIT_ARGS 256
10+#define MAX_INIT_ENVS 256
11
12 extern void time_init(void);
13 /* Default late time init is NULL. archs can override this later. */
4974468e
PS
14--- linux-2.6.7/include/asm-i386/param.h.orig 2004-07-03 16:56:41.000000000 +0200
15+++ linux-2.6.7/include/asm-i386/param.h 2004-07-03 19:10:53.358244832 +0200
16@@ -18,6 +18,6 @@
17 #endif
18
19 #define MAXHOSTNAMELEN 64 /* max length of hostname */
20-#define COMMAND_LINE_SIZE 256
21+#define COMMAND_LINE_SIZE 4096
22
23 #endif
5091d839 24diff -Nur --exclude '*.orig' linux-2.6.7-rc3.org/include/asm-i386/setup.h linux-2.6.7-rc3/include/asm-i386/setup.h
25--- linux-2.6.7-rc3.org/include/asm-i386/setup.h 2004-06-07 21:14:42.000000000 +0200
26+++ linux-2.6.7-rc3/include/asm-i386/setup.h 2004-06-08 11:29:19.000000000 +0200
27@@ -17,7 +17,7 @@
28 #define MAX_NONPAE_PFN (1 << 20)
29
30 #define PARAM_SIZE 2048
31-#define COMMAND_LINE_SIZE 256
32+#define COMMAND_LINE_SIZE 4096
33
34 #define OLD_CL_MAGIC_ADDR 0x90020
35 #define OLD_CL_MAGIC 0xA33F
5091d839 36diff -Nur --exclude '*.orig' linux-2.6.7-rc3.org/include/asm-s390/setup.h linux-2.6.7-rc3/include/asm-s390/setup.h
37--- linux-2.6.7-rc3.org/include/asm-s390/setup.h 2004-06-07 21:14:58.000000000 +0200
38+++ linux-2.6.7-rc3/include/asm-s390/setup.h 2004-06-08 11:30:38.000000000 +0200
39@@ -9,7 +9,7 @@
40 #define _ASM_S390_SETUP_H
41
42 #define PARMAREA 0x10400
43-#define COMMAND_LINE_SIZE 896
44+#define COMMAND_LINE_SIZE 4096
45 #define RAMDISK_ORIGIN 0x800000
46 #define RAMDISK_SIZE 0x800000
47
5a9081c3
PS
48--- linux-2.6.7/include/asm-ppc/setup.h.orig 2004-07-06 17:53:17.000000000 +0200
49+++ linux-2.6.7/include/asm-ppc/setup.h 2004-07-06 17:55:37.428864888 +0200
50@@ -8,7 +8,7 @@
51 #include <asm-m68k/setup.h>
52 /* We have a bigger command line buffer. */
53 #undef COMMAND_LINE_SIZE
54-#define COMMAND_LINE_SIZE 512
55+#define COMMAND_LINE_SIZE 4096
56
57 #endif /* _PPC_SETUP_H */
58 #endif /* __KERNEL__ */
59--- linux-2.6.7/arch/ppc/syslib/prom.c.orig 2004-07-06 17:53:30.000000000 +0200
60+++ linux-2.6.7/arch/ppc/syslib/prom.c 2004-07-06 17:55:57.781770776 +0200
d5a5132f 61@@ -85,7 +85,7 @@
62 extern void enter_rtas(void *);
63 void phys_call_rtas(int, int, int, ...);
64
0536acb9 65-extern char cmd_line[512]; /* XXX */
5a9081c3 66+extern char cmd_line[COMMAND_LINE_SIZE];
d5a5132f 67 extern boot_infos_t *boot_infos;
68 unsigned long dev_tree_size;
69
This page took 0.052468 seconds and 4 git commands to generate.