summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCliff Wickman <cpw@sgi.com>2013-02-04 13:53:55 -0600
committerSimon Horman <horms@verge.net.au>2013-03-05 10:51:15 +0900
commit49320340f705694e387d794f7f19d407ad9baefa (patch)
tree2848ce9a9d39eea52e0bc1be717cc98963308013
parent6df15d1cca55b2cd59c79aed69f004e1b2a6ba36 (diff)
downloadkexec-tools-49320340f705694e387d794f7f19d407ad9baefa.tar.gz
kexec: lengthen the kernel command line image
The crash kernel's boot command line is not long enough to contain the necessary memmap= options for a large memory. The fix is simple, as long as the boot loader's command line is also long enough. I'm not sure about boot loader or kernel restrictions to this length. Signed-off-by: Cliff Wickman <cpw@sgi.com> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--include/x86/x86-linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/x86/x86-linux.h b/include/x86/x86-linux.h
index 0949dc27..6681f9e8 100644
--- a/include/x86/x86-linux.h
+++ b/include/x86/x86-linux.h
@@ -197,7 +197,7 @@ struct x86_linux_param_header {
uint8_t _pad8[48]; /* 0xcd0 */
struct edd_info eddbuf[EDDMAXNR]; /* 0xd00 */
/* 0xeec */
-#define COMMAND_LINE_SIZE 2048
+#define COMMAND_LINE_SIZE (64*1024)
};
struct x86_linux_faked_param_header {