From 11ece57847ef88e0c8b0a274cb1e0515b8ef3529 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Tue, 11 Dec 2007 16:06:14 -0200 Subject: [PATCH] Avoid using mk_unsigned_long() This is just to avoid diving into the header file mess to make the macro available. The constants aren't used on assembly code, anyway, so just append UL to them. Signed-off-by: Eduardo Habkost --- include/asm-x86/xen/interface.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/asm-x86/xen/interface.h b/include/asm-x86/xen/interface.h index 563074c..881d1b3 100644 --- a/include/asm-x86/xen/interface.h +++ b/include/asm-x86/xen/interface.h @@ -73,17 +73,17 @@ DEFINE_GUEST_HANDLE(void); * machine->physical mapping table starts at this address, read-only. */ #ifdef CONFIG_X86_64 -#define __HYPERVISOR_VIRT_START 0xFFFF800000000000 +#define __HYPERVISOR_VIRT_START 0xFFFF800000000000UL #else # ifdef CONFIG_X86_PAE -# define __HYPERVISOR_VIRT_START 0xF5800000 +# define __HYPERVISOR_VIRT_START 0xF5800000UL # else -# define __HYPERVISOR_VIRT_START 0xFC000000 +# define __HYPERVISOR_VIRT_START 0xFC000000UL # endif #endif #ifndef HYPERVISOR_VIRT_START -#define HYPERVISOR_VIRT_START mk_unsigned_long(__HYPERVISOR_VIRT_START) +#define HYPERVISOR_VIRT_START __HYPERVISOR_VIRT_START #endif #ifndef machine_to_phys_mapping -- 1.5.4.1