diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2004-08-23 21:23:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-23 21:23:04 -0700 |
commit | 54d68822e8e384fc4759350148d5282981299040 (patch) | |
tree | 644eff1e3537c43e3a9c11e669d4a04fd1cb3bcb /init | |
parent | e84e486ca7ddcc3cf89522f6d12ce0423df85109 (diff) | |
download | history-54d68822e8e384fc4759350148d5282981299040.tar.gz |
[PATCH] Make MAX_INIT_ARGS 32
We at Red Hat shipped a larger number of arguments for quite some time, it
was required for installations on IBM mainframe (s390), which doesn't have
a good way to pass arguments.
There are a number of reasonable situations that go past the current limits
of 8. One that comes to mind is when you want to perform a manual vnc
install on a headless machine using anaconda. This requires passing in a
number of parameters to get anaconda past the initial (no-gui) loader
screens.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/main.c b/init/main.c index 1061ae7e23ff91..3aee362866e68e 100644 --- a/init/main.c +++ b/init/main.c @@ -110,8 +110,8 @@ EXPORT_SYMBOL(system_state); /* * Boot command-line arguments */ -#define MAX_INIT_ARGS 8 -#define MAX_INIT_ENVS 8 +#define MAX_INIT_ARGS 32 +#define MAX_INIT_ENVS 32 extern void time_init(void); /* Default late time init is NULL. archs can override this later. */ |