diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2021-09-29 09:09:34 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-10-26 15:21:31 +0200 |
commit | 622021cd6c560ce7aaaf7294a732177a30c9d65f (patch) | |
tree | 531938c1100479285f28ddefabba0ecdd0ec22a4 /arch/s390/Kconfig | |
parent | 5ecb2da660ab8eddafe059a6a8a708465db89ca2 (diff) |
s390: make command line configurable
Allow to configure the command line to an arbitrary length, with a
default of 4096 bytes. Also remove COMMAND_LINE_SIZE from
include/uapi/asm/setup.h as this is dynamic now and doesn't tell
anything about the command line size limitations of a new kernel
that might be loaded.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r-- | arch/s390/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index d0d42c5c4141..8857ec3b97eb 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -438,6 +438,14 @@ endchoice config 64BIT def_bool y +config COMMAND_LINE_SIZE + int "Maximum size of kernel command line" + default 4096 + range 896 1048576 + help + This allows you to specify the maximum length of the kernel command + line. + config COMPAT def_bool y prompt "Kernel support for 31 bit emulation" |