浏览代码

arm/xen: Drop pte_mfn and mfn_pte

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>
Julien Grall 10 年之前
父节点
当前提交
5031612b5e
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      arch/arm/include/asm/xen/page.h

+ 0 - 3
arch/arm/include/asm/xen/page.h

@@ -13,9 +13,6 @@
 
 
 #define phys_to_machine_mapping_valid(pfn) (1)
 #define phys_to_machine_mapping_valid(pfn) (1)
 
 
-#define pte_mfn	    pte_pfn
-#define mfn_pte	    pfn_pte
-
 /* Xen machine address */
 /* Xen machine address */
 typedef struct xmaddr {
 typedef struct xmaddr {
 	phys_addr_t maddr;
 	phys_addr_t maddr;