summaryrefslogtreecommitdiff
path: root/kexec/kexec-xen.c
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2013-11-26 17:42:37 +0000
committerSimon Horman <horms@verge.net.au>2013-12-03 21:26:40 +0900
commitb2b9891ce6e883cd83a983ee6e94780f8b0820bc (patch)
tree4e70f1e4b5f8f3ca347cf37b023a6bfdfd684491 /kexec/kexec-xen.c
parent1aa11adbc18931b9ee0239b87c25bf5885a08645 (diff)
kexec/xen: Fix typo in __i386__ preprocessor identifier
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> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec-xen.c')
-rw-r--r--kexec/kexec-xen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/kexec-xen.c b/kexec/kexec-xen.c
index cac313d..24a4191 100644
--- a/kexec/kexec-xen.c
+++ b/kexec/kexec-xen.c
@@ -69,7 +69,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