public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kexec jump: fix code size checking
@ 2008-08-13  1:04 Huang Ying
  2008-08-13  2:47 ` Simon Horman
  2008-08-13 13:19 ` Vivek Goyal
  0 siblings, 2 replies; 10+ messages in thread
From: Huang Ying @ 2008-08-13  1:04 UTC (permalink / raw)
  To: Eric W. Biederman, Pavel Machek, nigel, Rafael J. Wysocki,
	Andrew Morton, Vivek Goyal, mingo, Linus Torvalds
  Cc: linux-kernel, Kexec Mailing List

Fix building issue when CONFIG_KEXEC=n. Thanks to Vivek Goyal for his
reminding.

Signed-off-by: Huang Ying <ying.huang@intel.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__



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-08-13 17:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-13  1:04 [PATCH] kexec jump: fix code size checking Huang Ying
2008-08-13  2:47 ` Simon Horman
2008-08-13  3:05   ` Huang Ying
2008-08-13  3:40     ` Eric W. Biederman
2008-08-13  5:18       ` Huang Ying
2008-08-13  5:51         ` Simon Horman
2008-08-13  3:48     ` Simon Horman
2008-08-13 13:21     ` Vivek Goyal
2008-08-13 13:19 ` Vivek Goyal
2008-08-13 17:07   ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox