x86/mm: Drop more PV superpage leftovers
PATCH 1/1 x86/mm: Drop more PV superpage leftovers
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
CC: Wei Liu <[email protected]>
--- xen/include/asm-x86/x86_64/page.h | 10 ---------- 1 file changed, 10 deletions(-)
xen/include/asm-x86/x86_64/page.h +0 -10
@@ -50,16 +50,6 @@ extern unsigned long xen_virt_end;#define pdx_to_virt (pdx) ((void *)(DIRECTMAP_VIRT_START + \ ((unsigned long)(pdx) << PAGE_SHIFT))) -static inline unsigned long pfn_to_sdx (unsigned long pfn) -{ -return pfn_to_pdx (pfn) >> (SUPERPAGE_SHIFT -PAGE_SHIFT ); -} - -static inline unsigned long sdx_to_pfn (unsigned long sdx) -{ -return pdx_to_pfn (sdx << (SUPERPAGE_SHIFT -PAGE_SHIFT )); -} -static inline unsigned long __virt_to_maddr (unsigned long va) {ASSERT (va >=XEN_VIRT_START && va <DIRECTMAP_VIRT_END );
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 1 line · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 2 lines
Quoted 1 line
Quoted 1 line · On 16.08.17 at 14:27, <[email protected]> wrote:
Signed-off-by Andrew Cooper <[email protected]>
Acked-by Jan Beulich <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel