]> git.karo-electronics.de Git - karo-tx-linux.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)
committerDavid Vrabel <david.vrabel@citrix.com>
Fri, 23 Oct 2015 13:20:32 +0000 (14:20 +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>
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;