[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86/mm: Drop more PV superpage leftovers
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- CC: Jan Beulich <JBeulich@xxxxxxxx> CC: Wei Liu <wei.liu2@xxxxxxxxxx> --- xen/include/asm-x86/x86_64/page.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/xen/include/asm-x86/x86_64/page.h b/xen/include/asm-x86/x86_64/page.h index 5caf321..c3eab62 100644 --- a/xen/include/asm-x86/x86_64/page.h +++ b/xen/include/asm-x86/x86_64/page.h @@ -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); -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |