Commit 48c6c59c authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86_64/i386: increase command line size

Enlarge i386/x86-64 kernel command line to 2k

This is useful when the kernel command line is used to pass other
information to initrds or installers.

On i386 it was duplicated for unknown reasons.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6a1e002d
......@@ -18,6 +18,6 @@
#endif
#define MAXHOSTNAMELEN 64 /* max length of hostname */
#define COMMAND_LINE_SIZE 256
#define COMMAND_LINE_SIZE 2048
#endif
......@@ -17,7 +17,7 @@
#define MAX_NONPAE_PFN (1 << 20)
#define PARAM_SIZE 2048
#define COMMAND_LINE_SIZE 256
#define COMMAND_LINE_SIZE 2048
#define OLD_CL_MAGIC_ADDR 0x90020
#define OLD_CL_MAGIC 0xA33F
......
#ifndef _x8664_SETUP_H
#define _x8664_SETUP_H
#define COMMAND_LINE_SIZE 256
#define COMMAND_LINE_SIZE 2048
#endif
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