From 43103612f62fb5d088bcbb8d5fcfcfeed7858b7c Mon Sep 17 00:00:00 2001 From: Daniel Kiper Date: Thu, 25 Sep 2014 12:08:03 +0200 Subject: [PATCH] x86: use constant as multiboot protocol identifier ... instead of plain number. Signed-off-by: Daniel Kiper Reviewed-by: Andrew Cooper --- xen/arch/x86/boot/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/boot/head.S b/xen/arch/x86/boot/head.S index 10ecf51993..cd43952f6f 100644 --- a/xen/arch/x86/boot/head.S +++ b/xen/arch/x86/boot/head.S @@ -82,7 +82,7 @@ __start: mov %ecx,%ss /* Check for Multiboot bootloader */ - cmp $0x2BADB002,%eax + cmp $MULTIBOOT_BOOTLOADER_MAGIC,%eax jne not_multiboot /* Set up trampoline segment 64k below EBDA */ -- 2.30.2