mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
[XEN] Remove unused IS_INVALID_M2P_ENTRY macro.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
1 parent
194fd7d7ec
commit
60d146799b
2 files changed
-2
No files matched your search
@@ -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)])
|
||||
|
||||
@@ -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)])
|
||||
|
||||