Skip to contentSkip to conversation

Patch to move MAX_INIT_ARGS

PATCH Pete Zaitcev 1 participant 1 message Apr 3, 2003

lore
Share & tools
lore
#0 lore raw

Hi, All:

I would like to move MAX_INIT_ARGS to param.h (to make it bigger). Please let me know if you disagree.

-- Pete

include/asm-alpha/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-alpha/param.h linux-2.5.66-s390/include/asm-alpha/param.h
@@ -33,4 +33,7 @@
 # define CLOCKS_PER_SEC	HZ	/* frequency at which times() counts */
 #endif
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* _ASM_ALPHA_PARAM_H */
include/asm-arm/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-arm/param.h linux-2.5.66-s390/include/asm-arm/param.h
@@ -36,5 +36,8 @@
 /* max length of hostname */
 #define MAXHOSTNAMELEN  64
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
 
include/asm-cris/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-cris/param.h linux-2.5.66-s390/include/asm-cris/param.h
@@ -21,4 +21,7 @@
 # define CLOCKS_PER_SEC        100     /* frequency at which times() counts */
 #endif
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
include/asm-i386/param.h +6 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-i386/param.h linux-2.5.66-s390/include/asm-i386/param.h
@@ -23,4 +23,10 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+/*
+ * Boot command-line arguments
+ */
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
include/asm-ia64/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-ia64/param.h linux-2.5.66-s390/include/asm-ia64/param.h
@@ -37,4 +37,7 @@
 # define CLOCKS_PER_SEC	HZ	/* frequency at which times() counts */
 #endif
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* _ASM_IA64_PARAM_H */
include/asm-m68k/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-m68k/param.h linux-2.5.66-s390/include/asm-m68k/param.h
@@ -23,4 +23,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* _M68K_PARAM_H */
include/asm-m68knommu/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-m68knommu/param.h linux-2.5.66-s390/include/asm-m68knommu/param.h
@@ -54,4 +54,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* _M68KNOMMU_PARAM_H */
include/asm-mips/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-mips/param.h linux-2.5.66-s390/include/asm-mips/param.h
@@ -68,4 +68,7 @@
 # define CLOCKS_PER_SEC	100	/* frequency at which times() counts */
 #endif
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* _ASM_PARAM_H */
include/asm-mips64/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-mips64/param.h linux-2.5.66-s390/include/asm-mips64/param.h
@@ -33,4 +33,7 @@
 # define CLOCKS_PER_SEC	100	/* frequency at which times() counts */
 #endif
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* _ASM_PARAM_H */
include/asm-parisc/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-parisc/param.h linux-2.5.66-s390/include/asm-parisc/param.h
@@ -27,4 +27,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
include/asm-ppc/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-ppc/param.h linux-2.5.66-s390/include/asm-ppc/param.h
@@ -23,4 +23,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
include/asm-ppc64/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-ppc64/param.h linux-2.5.66-s390/include/asm-ppc64/param.h
@@ -30,4 +30,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* _ASM_PPC64_PARAM_H */
include/asm-s390/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-s390/param.h linux-2.5.66-s390/include/asm-s390/param.h
@@ -31,4 +31,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 25	/* param.parm deck for installs */
+#define MAX_INIT_ENVS 8
+
 #endif
include/asm-s390x/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-s390x/param.h linux-2.5.66-s390/include/asm-s390x/param.h
@@ -31,4 +31,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 25	/* param.parm deck for installs */
+#define MAX_INIT_ENVS 8
+
 #endif
include/asm-sh/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-sh/param.h linux-2.5.66-s390/include/asm-sh/param.h
@@ -21,4 +21,7 @@
 #define CLOCKS_PER_SEC	HZ	/* frequency at which times() counts */
 #endif
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* __ASM_SH_PARAM_H */
include/asm-sparc/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-sparc/param.h linux-2.5.66-s390/include/asm-sparc/param.h
@@ -24,4 +24,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
include/asm-sparc64/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-sparc64/param.h linux-2.5.66-s390/include/asm-sparc64/param.h
@@ -24,4 +24,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* _ASMSPARC64_PARAM_H */
include/asm-um/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-um/param.h linux-2.5.66-s390/include/asm-um/param.h
@@ -19,4 +19,7 @@
 #define CLOCKS_PER_SEC (USER_HZ)  /* frequency at which times() counts */
 #endif
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
include/asm-v850/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-v850/param.h linux-2.5.66-s390/include/asm-v850/param.h
@@ -33,4 +33,7 @@
 # define CLOCKS_PER_SEC	USER_HZ
 #endif
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif /* __V850_PARAM_H__ */
include/asm-x86_64/param.h +3 -0
diff -urN -X dontdiff linux-2.5.66/include/asm-x86_64/param.h linux-2.5.66-s390/include/asm-x86_64/param.h
@@ -23,4 +23,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
init/main.c +1 -6
diff -urN -X dontdiff linux-2.5.66/init/main.c linux-2.5.66-s390/init/main.c
@@ -39,6 +39,7 @@
 
 #include <asm/io.h>
 #include <asm/bugs.h>
+#include <asm/param.h>
 
 /*
  * This is one of the first .c files built. Error out early
@@ -98,12 +99,6 @@
  */
 int system_running = 0;
 
-/*
- * Boot command-line arguments
- */
-#define MAX_INIT_ARGS 8
-#define MAX_INIT_ENVS 8
-
 extern void time_init(void);
 extern void softirq_init(void);