|
|
ab224c |
From 827491661670e3d7f8edf08cce2ed0f423d710eb Mon Sep 17 00:00:00 2001
|
|
|
ab224c |
Message-Id: <827491661670e3d7f8edf08cce2ed0f423d710eb.1380270065.git.bhe@redhat.com>
|
|
|
ab224c |
From: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
|
|
|
ab224c |
Date: Wed, 27 Mar 2013 20:42:28 +0800
|
|
|
ab224c |
Subject: [PATCH] Revert: "kexec: lengthen the kernel command line image"
|
|
|
ab224c |
|
|
|
ab224c |
This reverts commit 49320340f705694e387d794f7f19d407ad9baefa. The change
|
|
|
ab224c |
of COMMAND_LINE_SIZE cannot solve Cliff's problem since the kernel side
|
|
|
ab224c |
has the restriction, so it is useless. Let's recover the original value
|
|
|
ab224c |
defined by kernel side.
|
|
|
ab224c |
|
|
|
ab224c |
Cc: Cliff Wickman <cpw@sgi.com>
|
|
|
ab224c |
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
|
|
|
ab224c |
Signed-off-by: Simon Horman <horms@verge.net.au>
|
|
|
ab224c |
Signed-off-by: Baoquan He <bhe@redhat.com>
|
|
|
ab224c |
---
|
|
|
ab224c |
include/x86/x86-linux.h | 2 +-
|
|
|
ab224c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
ab224c |
|
|
|
ab224c |
diff --git a/include/x86/x86-linux.h b/include/x86/x86-linux.h
|
|
|
ab224c |
index 6681f9e..0949dc2 100644
|
|
|
ab224c |
--- a/include/x86/x86-linux.h
|
|
|
ab224c |
+++ b/include/x86/x86-linux.h
|
|
|
ab224c |
@@ -197,7 +197,7 @@ struct x86_linux_param_header {
|
|
|
ab224c |
uint8_t _pad8[48]; /* 0xcd0 */
|
|
|
ab224c |
struct edd_info eddbuf[EDDMAXNR]; /* 0xd00 */
|
|
|
ab224c |
/* 0xeec */
|
|
|
ab224c |
-#define COMMAND_LINE_SIZE (64*1024)
|
|
|
ab224c |
+#define COMMAND_LINE_SIZE 2048
|
|
|
ab224c |
};
|
|
|
ab224c |
|
|
|
ab224c |
struct x86_linux_faked_param_header {
|
|
|
ab224c |
--
|
|
|
ab224c |
1.8.3.1
|
|
|
ab224c |
|