From ebdf1490c3b42771c5d446336aeb99665d24b17e Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 9 Mar 2012 01:23:16 +0100 Subject: include/mach/xen.h: Add 64bit variant * include/mach/xen.h (PFN_LIST): Set to MACH2PHYS_VIRT_START. --- include/mach/xen.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/mach/xen.h b/include/mach/xen.h index 6fc626f2..44620820 100644 --- a/include/mach/xen.h +++ b/include/mach/xen.h @@ -48,11 +48,15 @@ extern unsigned long la_shift; #define la_to_kv(a) phystokv(la_to_pa(a)) #ifdef MACH_PSEUDO_PHYS +#ifdef __i386__ #if PAE #define PFN_LIST MACH2PHYS_VIRT_START_PAE #else #define PFN_LIST MACH2PHYS_VIRT_START_NONPAE #endif +#else +#define PFN_LIST MACH2PHYS_VIRT_START +#endif #if VM_MIN_KERNEL_ADDRESS != LINEAR_MIN_KERNEL_ADDRESS extern unsigned long *pfn_list; #else -- cgit v1.2.3