From: Daniel Kiper Date: Thu, 25 Sep 2014 10:08:03 +0000 (+0200) Subject: x86: use constant as multiboot protocol identifier X-Git-Tag: 4.5.0-rc1~170 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=43103612f62fb5d088bcbb8d5fcfcfeed7858b7c;p=xen.git x86: use constant as multiboot protocol identifier ... instead of plain number. Signed-off-by: Daniel Kiper Reviewed-by: Andrew Cooper --- 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 */