Skip to content

Commit

Permalink
arm/xen: Drop pte_mfn and mfn_pte
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Julien Grall authored and David Vrabel committed Oct 23, 2015
1 parent a0f2e80 commit 5031612
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm/include/asm/xen/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5031612

Please sign in to comment.