[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1218589475.24951.59.camel@caritas-dev.intel.com>
Date: Wed, 13 Aug 2008 09:04:35 +0800
From: Huang Ying <ying.huang@...el.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>,
Pavel Machek <pavel@....cz>, nigel@...el.suspend2.net,
"Rafael J. Wysocki" <rjw@...k.pl>,
Andrew Morton <akpm@...ux-foundation.org>,
Vivek Goyal <vgoyal@...hat.com>, mingo@...e.hu,
Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org,
Kexec Mailing List <kexec@...ts.infradead.org>
Subject: [PATCH] kexec jump: fix code size checking
Fix building issue when CONFIG_KEXEC=n. Thanks to Vivek Goyal for his
reminding.
Signed-off-by: Huang Ying <ying.huang@...el.com>
---
include/asm-x86/kexec.h | 3 +++
1 file changed, 3 insertions(+)
--- a/include/asm-x86/kexec.h
+++ b/include/asm-x86/kexec.h
@@ -43,6 +43,9 @@
#ifdef CONFIG_X86_32
# define KEXEC_CONTROL_CODE_MAX_SIZE 2048
+# ifndef CONFIG_KEXEC
+# define kexec_control_code_size 0
+# endif
#endif
#ifndef __ASSEMBLY__
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists