Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1202901 > unrolled thread

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

Started byJulien Grall <julien.grall@citrix.com>
First post2015-08-07 18:50 +0200
Last post2015-08-10 12:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 02/20] arm/xen: Drop pte_mfn and mfn_pte Julien Grall <julien.grall@citrix.com> - 2015-08-07 18:50 +0200
    Re: [PATCH v3 02/20] arm/xen: Drop pte_mfn and mfn_pte Stefano Stabellini <stefano.stabellini@eu.citrix.com> - 2015-08-10 12:20 +0200

#1202901 — [PATCH v3 02/20] arm/xen: Drop pte_mfn and mfn_pte

FromJulien Grall <julien.grall@citrix.com>
Date2015-08-07 18:50 +0200
Subject[PATCH v3 02/20] arm/xen: Drop pte_mfn and mfn_pte
Message-ID<pUT0e-5e5-17@gated-at.bofh.it>
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(-)

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1204031

FromStefano Stabellini <stefano.stabellini@eu.citrix.com>
Date2015-08-10 12:20 +0200
Message-ID<pVSlr-3cZ-17@gated-at.bofh.it>
In reply to#1202901
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
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web