All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kexec jump: fix code size checking
@ 2008-08-13  1:04 ` Huang Ying
  0 siblings, 0 replies; 20+ 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: Kexec Mailing List, linux-kernel

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__



_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

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

Thread overview: 20+ 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  1:04 ` Huang Ying
2008-08-13  2:47 ` Simon Horman
2008-08-13  2:47   ` Simon Horman
2008-08-13  3:05   ` Huang Ying
2008-08-13  3:05     ` Huang Ying
2008-08-13  3:40     ` Eric W. Biederman
2008-08-13  3:40       ` Eric W. Biederman
2008-08-13  5:18       ` Huang Ying
2008-08-13  5:18         ` Huang Ying
2008-08-13  5:51         ` Simon Horman
2008-08-13  5:51           ` Simon Horman
2008-08-13  3:48     ` Simon Horman
2008-08-13  3:48       ` Simon Horman
2008-08-13 13:21     ` Vivek Goyal
2008-08-13 13:21       ` Vivek Goyal
2008-08-13 13:19 ` Vivek Goyal
2008-08-13 13:19   ` Vivek Goyal
2008-08-13 17:07   ` Andrew Morton
2008-08-13 17:07     ` Andrew Morton

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.