From: kaf24@firebug.cl.cam.ac.uk Date: Thu, 31 Aug 2006 21:29:23 +0000 (+0100) Subject: [XEN] Remove unused IS_INVALID_M2P_ENTRY macro. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15673^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=60d146799baead650fa0313dc7c8a53d88f9f1ca;p=xen.git [XEN] Remove unused IS_INVALID_M2P_ENTRY macro. Signed-off-by: Jan Beulich --- diff --git a/xen/include/asm-ia64/mm.h b/xen/include/asm-ia64/mm.h index 5bc654802d..111325936d 100644 --- a/xen/include/asm-ia64/mm.h +++ b/xen/include/asm-ia64/mm.h @@ -451,7 +451,6 @@ extern u64 translate_domain_pte(u64 pteval, u64 address, u64 itir__, u64* logps, #define INVALID_M2P_ENTRY (~0UL) #define VALID_M2P(_e) (!((_e) & (1UL<<63))) -#define IS_INVALID_M2P_ENTRY(_e) (!VALID_M2P(_e)) #define set_gpfn_from_mfn(mfn, pfn) (machine_to_phys_mapping[(mfn)] = (pfn)) #define get_gpfn_from_mfn(mfn) (machine_to_phys_mapping[(mfn)]) diff --git a/xen/include/asm-x86/mm.h b/xen/include/asm-x86/mm.h index 8263199824..cb4efe9734 100644 --- a/xen/include/asm-x86/mm.h +++ b/xen/include/asm-x86/mm.h @@ -338,7 +338,6 @@ int check_descriptor(struct desc_struct *d); #define machine_to_phys_mapping ((unsigned long *)RDWR_MPT_VIRT_START) #define INVALID_M2P_ENTRY (~0UL) #define VALID_M2P(_e) (!((_e) & (1UL<<(BITS_PER_LONG-1)))) -#define IS_INVALID_M2P_ENTRY(_e) (!VALID_M2P(_e)) #define set_gpfn_from_mfn(mfn, pfn) (machine_to_phys_mapping[(mfn)] = (pfn)) #define get_gpfn_from_mfn(mfn) (machine_to_phys_mapping[(mfn)])