Thread (33 messages) 33 messages, 4 authors, 2015-10-02
STALE3889d REVIEWED: 1 (0M)
Revisions (4)
  1. v4 [diff vs current]
  2. v4 [diff vs current]
  3. v5 current
  4. v5 [diff vs current]

[PATCH v5 02/22] arm/xen: Drop pte_mfn and mfn_pte

From: Julien Grall <hidden>
Date: 2015-09-30 10:47:02
Also in: lkml
Subsystem: arm port, the rest, xen hypervisor arm · Maintainers: Russell King, Linus Torvalds, Stefano Stabellini

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 <redacted>
Reviewed-by: Stefano Stabellini <redacted>

---
Cc: Russell King <redacted>

    Changes in v4:
        - Add Stefano's reviewed

    Changes in v3:
        - Patch added
---
 arch/arm/include/asm/xen/page.h | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/arch/arm/include/asm/xen/page.h b/arch/arm/include/asm/xen/page.h
index 1279563..98c9fc3 100644
--- a/arch/arm/include/asm/xen/page.h
+++ b/arch/arm/include/asm/xen/page.h
@@ -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;
-- 
2.1.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help