]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm/xen: Drop pte_mfn and mfn_pte
authorJulien Grall <julien.grall@citrix.com>
Tue, 21 Jul 2015 16:57:20 +0000 (17:57 +0100)
committerJoao Martins <joao.m.martins@oracle.com>
Sun, 27 Mar 2016 01:01:04 +0000 (02:01 +0100)
They are not used in common code expect in one place in balloon.c which is
only compiled when Linux is using PV MMU. It's not the case on ARM.

Rather than worrying how to handle the 64KB case, drop them.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 5031612b5eaf15cb6471c6e936a515090810c8f1)
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
arch/arm/include/asm/xen/page.h

index 127956353b0060fc1a4e6d7edacdcc0a7219e201..98c9fc38b945c8e8c62fe99e2a974f6f35f3230b 100644 (file)
@@ -13,9 +13,6 @@
 
 #define phys_to_machine_mapping_valid(pfn) (1)
 
-#define pte_mfn            pte_pfn
-#define mfn_pte            pfn_pte
-
 /* Xen machine address */
 typedef struct xmaddr {
        phys_addr_t maddr;