* [PATCH] Revert: "kexec: lengthen the kernel command line image"
@ 2013-03-27 12:42 Zhang Yanfei
2013-03-27 14:03 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Yanfei @ 2013-03-27 12:42 UTC (permalink / raw)
To: Simon Horman; +Cc: kexec@lists.infradead.org, Cliff Wickman
From: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
This reverts commit 49320340f705694e387d794f7f19d407ad9baefa. The change
of COMMAND_LINE_SIZE cannot solve Cliff's problem since the kernel side
has the restriction, so it is useless. Let's recover the original value
defined by kernel side.
Cc: Cliff Wickman <cpw@sgi.com>
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
---
include/x86/x86-linux.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/x86/x86-linux.h b/include/x86/x86-linux.h
index 6681f9e..0949dc2 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 (64*1024)
+#define COMMAND_LINE_SIZE 2048
};
struct x86_linux_faked_param_header {
--
1.7.1
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Revert: "kexec: lengthen the kernel command line image"
2013-03-27 12:42 [PATCH] Revert: "kexec: lengthen the kernel command line image" Zhang Yanfei
@ 2013-03-27 14:03 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2013-03-27 14:03 UTC (permalink / raw)
To: Zhang Yanfei; +Cc: kexec@lists.infradead.org, Cliff Wickman
On Wed, Mar 27, 2013 at 08:42:28PM +0800, Zhang Yanfei wrote:
> From: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
>
> This reverts commit 49320340f705694e387d794f7f19d407ad9baefa. The change
> of COMMAND_LINE_SIZE cannot solve Cliff's problem since the kernel side
> has the restriction, so it is useless. Let's recover the original value
> defined by kernel side.
>
> Cc: Cliff Wickman <cpw@sgi.com>
> Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thanks, applied.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-27 14:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-27 12:42 [PATCH] Revert: "kexec: lengthen the kernel command line image" Zhang Yanfei
2013-03-27 14:03 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.