diff mbox

[v3,02/20] arm/xen: Drop pte_mfn and mfn_pte

Message ID 1438966019-19322-3-git-send-email-julien.grall@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Julien Grall Aug. 7, 2015, 4:46 p.m. UTC
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>

---
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Russell King <linux@arm.linux.org.uk>

    Changes in v3:
        - Patch added
---
 arch/arm/include/asm/xen/page.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Stefano Stabellini Aug. 10, 2015, 10:10 a.m. UTC | #1
On Fri, 7 Aug 2015, Julien Grall wrote:
> 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>


> Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> Russell King <linux@arm.linux.org.uk>
> 
>     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
>
diff mbox

Patch

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;