All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kexec/xen: Fix typo in __i386__ preprocessor identifier
@ 2013-11-26 17:42 Andrew Cooper
  2013-11-26 19:49 ` Daniel Kiper
  2013-11-26 19:49 ` [PATCH] kexec/xen: " Daniel Kiper
  0 siblings, 2 replies; 7+ messages in thread
From: Andrew Cooper @ 2013-11-26 17:42 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Daniel Kiper, Simon Horman, kexec, David Vrabel

This typo was introduced in c/s c0b4a3f95dd80256cc6d7084436235e69b4933fb

It prevents a 32bit build of kexec from loading a 32bit crash image.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: David Vrabel <david.vrabel@citrix.com>
CC: Daniel Kiper <daniel.kiper@oracle.com>
CC: Simon Horman <horms@verge.net.au>
CC: kexec@lists.infradead.org

---
 kexec/kexec-xen.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kexec/kexec-xen.c b/kexec/kexec-xen.c
index e885246..d2bd7bf 100644
--- a/kexec/kexec-xen.c
+++ b/kexec/kexec-xen.c
@@ -70,7 +70,7 @@ int xen_kexec_load(struct kexec_info *info)
 		: KEXEC_TYPE_DEFAULT;
 
 	arch = (info->kexec_flags & KEXEC_ARCH_MASK) >> 16;
-#if defined(_i386__) || defined(__x86_64__)
+#if defined(__i386__) || defined(__x86_64__)
 	if (!arch)
 		arch = EM_386;
 #endif
-- 
1.7.10.4


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

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

end of thread, other threads:[~2013-12-03 12:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 17:42 [PATCH] kexec/xen: Fix typo in __i386__ preprocessor identifier Andrew Cooper
2013-11-26 19:49 ` Daniel Kiper
2013-12-03 10:01   ` [PATCH] kexec-tools/xen: " Andrew Cooper
2013-12-03 10:01   ` Andrew Cooper
2013-12-03 12:28     ` Simon Horman
2013-12-03 12:28     ` Simon Horman
2013-11-26 19:49 ` [PATCH] kexec/xen: " Daniel Kiper

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.