]> xenbits.xensource.com Git - xen.git/commitdiff
x86: use constant as multiboot protocol identifier
authorDaniel Kiper <daniel.kiper@oracle.com>
Thu, 25 Sep 2014 10:08:03 +0000 (12:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Sep 2014 10:08:03 +0000 (12:08 +0200)
... instead of plain number.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper@citrix.com>
xen/arch/x86/boot/head.S

index 10ecf51993547d20b447a549854e0574a1b77f46..cd43952f6fe4f6163d166aaa0e40c7ab9022b326 100644 (file)
@@ -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 */