[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] 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@xxxxxxxxxx>
CC: David Vrabel <david.vrabel@xxxxxxxxxx>
CC: Daniel Kiper <daniel.kiper@xxxxxxxxxx>
CC: Simon Horman <horms@xxxxxxxxxxxx>
CC: kexec@xxxxxxxxxxxxxxxxxxx

 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;

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.