From: Alon Bar-Lev Date: Mon, 12 Feb 2007 08:54:27 +0000 (-0800) Subject: [PATCH] i386: 2048-byte command line X-Git-Tag: v2.6.21-rc1~91^2~75 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=7bf9f974fbdc16769db3d48f7c31f932b233bcfb;p=powerpc.git [PATCH] i386: 2048-byte command line Current implementation allows the kernel to receive up to 255 characters from the bootloader. While the boot protocol allows greater buffers to be sent. In current environment, the command-line is used in order to specify many values, including suspend/resume, module arguments, splash, initramfs and more. 255 characters are not enough anymore. After edd issue was fixed, and dynammic kernel command-line patch was accepted, we can extend the COMMAND_LINE_SIZE without runtime memory requirements. Signed-off-by: Alon Bar-Lev Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-i386/setup.h b/include/asm-i386/setup.h index 67659dbaf1..76316275d6 100644 --- a/include/asm-i386/setup.h +++ b/include/asm-i386/setup.h @@ -6,7 +6,7 @@ #ifndef _i386_SETUP_H #define _i386_SETUP_H -#define COMMAND_LINE_SIZE 256 +#define COMMAND_LINE_SIZE 2048 #ifdef __KERNEL__ #include