diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2007-02-12 03:54:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:39 -0500 |
commit | 7bf9f974fbdc16769db3d48f7c31f932b233bcfb (patch) | |
tree | 281457b3535b21c174b60feeea7168c2162a4ef5 /include/asm-i386/setup.h | |
parent | 7a3a06d0e158fc82a6bf13e18439285c7791d2b8 (diff) |
[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 <alon.barlev@gmail.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-i386/setup.h')
-rw-r--r-- | include/asm-i386/setup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/setup.h b/include/asm-i386/setup.h index 67659dbaf120..76316275d6f9 100644 --- a/include/asm-i386/setup.h +++ b/include/asm-i386/setup.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef _i386_SETUP_H | 6 | #ifndef _i386_SETUP_H |
7 | #define _i386_SETUP_H | 7 | #define _i386_SETUP_H |
8 | 8 | ||
9 | #define COMMAND_LINE_SIZE 256 | 9 | #define COMMAND_LINE_SIZE 2048 |
10 | 10 | ||
11 | #ifdef __KERNEL__ | 11 | #ifdef __KERNEL__ |
12 | #include <linux/pfn.h> | 12 | #include <linux/pfn.h> |