summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2007-02-12 00:54:28 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 09:48:39 -0800
commitbbd4bb9aa7635063284ffb3470ab24c36c14d935 (patch)
tree169fea8ba78f463b470d3a0b498382a46a7f4a87
parent7bf9f974fbdc16769db3d48f7c31f932b233bcfb (diff)
downloadop-kernel-dev-bbd4bb9aa7635063284ffb3470ab24c36c14d935.zip
op-kernel-dev-bbd4bb9aa7635063284ffb3470ab24c36c14d935.tar.gz
[PATCH] x86_64: 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>
-rw-r--r--include/asm-x86_64/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/setup.h b/include/asm-x86_64/setup.h
index 985d4e3..eaeff73 100644
--- a/include/asm-x86_64/setup.h
+++ b/include/asm-x86_64/setup.h
@@ -1,6 +1,6 @@
#ifndef _x8664_SETUP_H
#define _x8664_SETUP_H
-#define COMMAND_LINE_SIZE 256
+#define COMMAND_LINE_SIZE 2048
#endif
OpenPOWER on IntegriCloud