All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: linux390@de.ibm.com, Pete Zaitcev <zaitcev@redhat.com>
Subject: Patch to move MAX_INIT_ARGS
Date: Thu, 3 Apr 2003 16:42:44 -0500	[thread overview]
Message-ID: <20030403164244.C15640@devserv.devel.redhat.com> (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

diff -urN -X dontdiff linux-2.5.66/include/asm-alpha/param.h linux-2.5.66-s390/include/asm-alpha/param.h
--- linux-2.5.66/include/asm-alpha/param.h	2003-03-24 14:00:21.000000000 -0800
+++ linux-2.5.66-s390/include/asm-alpha/param.h	2003-04-03 13:17:16.000000000 -0800
@@ -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 */
diff -urN -X dontdiff linux-2.5.66/include/asm-arm/param.h linux-2.5.66-s390/include/asm-arm/param.h
--- linux-2.5.66/include/asm-arm/param.h	2003-03-24 14:00:41.000000000 -0800
+++ linux-2.5.66-s390/include/asm-arm/param.h	2003-04-03 13:17:22.000000000 -0800
@@ -36,5 +36,8 @@
 /* max length of hostname */
 #define MAXHOSTNAMELEN  64
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
 
diff -urN -X dontdiff linux-2.5.66/include/asm-cris/param.h linux-2.5.66-s390/include/asm-cris/param.h
--- linux-2.5.66/include/asm-cris/param.h	2003-03-24 14:00:48.000000000 -0800
+++ linux-2.5.66-s390/include/asm-cris/param.h	2003-04-03 13:17:29.000000000 -0800
@@ -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
diff -urN -X dontdiff linux-2.5.66/include/asm-i386/param.h linux-2.5.66-s390/include/asm-i386/param.h
--- linux-2.5.66/include/asm-i386/param.h	2003-03-24 14:00:08.000000000 -0800
+++ linux-2.5.66-s390/include/asm-i386/param.h	2003-04-03 13:16:26.000000000 -0800
@@ -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
diff -urN -X dontdiff linux-2.5.66/include/asm-ia64/param.h linux-2.5.66-s390/include/asm-ia64/param.h
--- linux-2.5.66/include/asm-ia64/param.h	2003-03-24 14:00:39.000000000 -0800
+++ linux-2.5.66-s390/include/asm-ia64/param.h	2003-04-03 13:17:38.000000000 -0800
@@ -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 */
diff -urN -X dontdiff linux-2.5.66/include/asm-m68k/param.h linux-2.5.66-s390/include/asm-m68k/param.h
--- linux-2.5.66/include/asm-m68k/param.h	2003-03-24 14:00:49.000000000 -0800
+++ linux-2.5.66-s390/include/asm-m68k/param.h	2003-04-03 13:17:48.000000000 -0800
@@ -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 */
diff -urN -X dontdiff linux-2.5.66/include/asm-m68knommu/param.h linux-2.5.66-s390/include/asm-m68knommu/param.h
--- linux-2.5.66/include/asm-m68knommu/param.h	2003-03-24 14:00:41.000000000 -0800
+++ linux-2.5.66-s390/include/asm-m68knommu/param.h	2003-04-03 13:17:45.000000000 -0800
@@ -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 */
diff -urN -X dontdiff linux-2.5.66/include/asm-mips/param.h linux-2.5.66-s390/include/asm-mips/param.h
--- linux-2.5.66/include/asm-mips/param.h	2003-03-24 14:00:09.000000000 -0800
+++ linux-2.5.66-s390/include/asm-mips/param.h	2003-04-03 13:18:00.000000000 -0800
@@ -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 */
diff -urN -X dontdiff linux-2.5.66/include/asm-mips64/param.h linux-2.5.66-s390/include/asm-mips64/param.h
--- linux-2.5.66/include/asm-mips64/param.h	2003-03-24 14:00:18.000000000 -0800
+++ linux-2.5.66-s390/include/asm-mips64/param.h	2003-04-03 13:17:54.000000000 -0800
@@ -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 */
diff -urN -X dontdiff linux-2.5.66/include/asm-parisc/param.h linux-2.5.66-s390/include/asm-parisc/param.h
--- linux-2.5.66/include/asm-parisc/param.h	2003-03-24 14:00:21.000000000 -0800
+++ linux-2.5.66-s390/include/asm-parisc/param.h	2003-04-03 13:18:03.000000000 -0800
@@ -27,4 +27,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
diff -urN -X dontdiff linux-2.5.66/include/asm-ppc/param.h linux-2.5.66-s390/include/asm-ppc/param.h
--- linux-2.5.66/include/asm-ppc/param.h	2003-03-24 14:00:20.000000000 -0800
+++ linux-2.5.66-s390/include/asm-ppc/param.h	2003-04-03 13:18:10.000000000 -0800
@@ -23,4 +23,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
diff -urN -X dontdiff linux-2.5.66/include/asm-ppc64/param.h linux-2.5.66-s390/include/asm-ppc64/param.h
--- linux-2.5.66/include/asm-ppc64/param.h	2003-03-24 14:01:25.000000000 -0800
+++ linux-2.5.66-s390/include/asm-ppc64/param.h	2003-04-03 13:18:07.000000000 -0800
@@ -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 */
diff -urN -X dontdiff linux-2.5.66/include/asm-s390/param.h linux-2.5.66-s390/include/asm-s390/param.h
--- linux-2.5.66/include/asm-s390/param.h	2003-03-24 14:00:00.000000000 -0800
+++ linux-2.5.66-s390/include/asm-s390/param.h	2003-04-03 13:19:12.000000000 -0800
@@ -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
diff -urN -X dontdiff linux-2.5.66/include/asm-s390x/param.h linux-2.5.66-s390/include/asm-s390x/param.h
--- linux-2.5.66/include/asm-s390x/param.h	2003-03-24 13:59:46.000000000 -0800
+++ linux-2.5.66-s390/include/asm-s390x/param.h	2003-04-03 13:19:27.000000000 -0800
@@ -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
diff -urN -X dontdiff linux-2.5.66/include/asm-sh/param.h linux-2.5.66-s390/include/asm-sh/param.h
--- linux-2.5.66/include/asm-sh/param.h	2003-03-24 14:01:47.000000000 -0800
+++ linux-2.5.66-s390/include/asm-sh/param.h	2003-04-03 13:18:21.000000000 -0800
@@ -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 */
diff -urN -X dontdiff linux-2.5.66/include/asm-sparc/param.h linux-2.5.66-s390/include/asm-sparc/param.h
--- linux-2.5.66/include/asm-sparc/param.h	2003-03-24 14:00:08.000000000 -0800
+++ linux-2.5.66-s390/include/asm-sparc/param.h	2003-04-03 13:18:29.000000000 -0800
@@ -24,4 +24,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
diff -urN -X dontdiff linux-2.5.66/include/asm-sparc64/param.h linux-2.5.66-s390/include/asm-sparc64/param.h
--- linux-2.5.66/include/asm-sparc64/param.h	2003-03-24 13:59:54.000000000 -0800
+++ linux-2.5.66-s390/include/asm-sparc64/param.h	2003-04-03 13:18:25.000000000 -0800
@@ -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 */
diff -urN -X dontdiff linux-2.5.66/include/asm-um/param.h linux-2.5.66-s390/include/asm-um/param.h
--- linux-2.5.66/include/asm-um/param.h	2003-03-24 14:00:03.000000000 -0800
+++ linux-2.5.66-s390/include/asm-um/param.h	2003-04-03 13:18:34.000000000 -0800
@@ -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
diff -urN -X dontdiff linux-2.5.66/include/asm-v850/param.h linux-2.5.66-s390/include/asm-v850/param.h
--- linux-2.5.66/include/asm-v850/param.h	2003-03-24 14:01:53.000000000 -0800
+++ linux-2.5.66-s390/include/asm-v850/param.h	2003-04-03 13:18:39.000000000 -0800
@@ -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__ */
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
--- linux-2.5.66/include/asm-x86_64/param.h	2003-03-24 14:00:46.000000000 -0800
+++ linux-2.5.66-s390/include/asm-x86_64/param.h	2003-04-03 13:18:44.000000000 -0800
@@ -23,4 +23,7 @@
 
 #define MAXHOSTNAMELEN	64	/* max length of hostname */
 
+#define MAX_INIT_ARGS 8
+#define MAX_INIT_ENVS 8
+
 #endif
diff -urN -X dontdiff linux-2.5.66/init/main.c linux-2.5.66-s390/init/main.c
--- linux-2.5.66/init/main.c	2003-03-24 14:00:08.000000000 -0800
+++ linux-2.5.66-s390/init/main.c	2003-04-03 13:20:13.000000000 -0800
@@ -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);
 

                 reply	other threads:[~2003-04-03 21:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030403164244.C15640@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux390@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.