Commit 54d68822 authored by Pete Zaitcev's avatar Pete Zaitcev Committed by Linus Torvalds

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e84e486c
...@@ -110,8 +110,8 @@ EXPORT_SYMBOL(system_state); ...@@ -110,8 +110,8 @@ EXPORT_SYMBOL(system_state);
/* /*
* Boot command-line arguments * Boot command-line arguments
*/ */
#define MAX_INIT_ARGS 8 #define MAX_INIT_ARGS 32
#define MAX_INIT_ENVS 8 #define MAX_INIT_ENVS 32
extern void time_init(void); extern void time_init(void);
/* Default late time init is NULL. archs can override this later. */ /* Default late time init is NULL. archs can override this later. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment