* [2.6 patch] remove mm_{ptov,vtop}()
@ 2007-10-24 16:26 Adrian Bunk
2007-10-24 23:38 ` Greg Ungerer
2007-10-26 3:26 ` Bryan Wu
0 siblings, 2 replies; 3+ messages in thread
From: Adrian Bunk @ 2007-10-24 16:26 UTC (permalink / raw)
To: bryan.wu, ysato, gerg, Miles Bader; +Cc: linux-kernel
This patch removes the unused mm_{ptov,vtop}().
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
include/asm-blackfin/io.h | 2 --
include/asm-h8300/io.h | 2 --
include/asm-h8300/virtconvert.h | 2 --
include/asm-m68knommu/io.h | 2 --
include/asm-v850/io.h | 2 --
5 files changed, 10 deletions(-)
c2472eb3a1eaaa4211863e6091817b4078b6a53e
diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h
index d1d2e6b..f3d8126 100644
--- a/include/asm-blackfin/io.h
+++ b/include/asm-blackfin/io.h
@@ -187,8 +187,6 @@ extern void blkfin_inv_cache_all(void);
#define page_to_phys(page) ((page - mem_map) << PAGE_SHIFT)
#define page_to_bus(page) ((page - mem_map) << PAGE_SHIFT)
-#define mm_ptov(vaddr) ((void *) (vaddr))
-#define mm_vtop(vaddr) ((unsigned long) (vaddr))
#define phys_to_virt(vaddr) ((void *) (vaddr))
#define virt_to_phys(vaddr) ((unsigned long) (vaddr))
diff --git a/include/asm-h8300/io.h b/include/asm-h8300/io.h
index 7543a57..26dc6cc 100644
--- a/include/asm-h8300/io.h
+++ b/include/asm-h8300/io.h
@@ -302,8 +302,6 @@ static __inline__ void ctrl_outl(unsigned long b, unsigned long addr)
/*
* Macros used for converting between virtual and physical mappings.
*/
-#define mm_ptov(vaddr) ((void *) (vaddr))
-#define mm_vtop(vaddr) ((unsigned long) (vaddr))
#define phys_to_virt(vaddr) ((void *) (vaddr))
#define virt_to_phys(vaddr) ((unsigned long) (vaddr))
diff --git a/include/asm-h8300/virtconvert.h b/include/asm-h8300/virtconvert.h
index ee7d5ea..19cfd62 100644
--- a/include/asm-h8300/virtconvert.h
+++ b/include/asm-h8300/virtconvert.h
@@ -10,8 +10,6 @@
#include <asm/setup.h>
#include <asm/page.h>
-#define mm_ptov(vaddr) ((void *) (vaddr))
-#define mm_vtop(vaddr) ((unsigned long) (vaddr))
#define phys_to_virt(vaddr) ((void *) (vaddr))
#define virt_to_phys(vaddr) ((unsigned long) (vaddr))
diff --git a/include/asm-m68knommu/io.h b/include/asm-m68knommu/io.h
index 653d9b2..6adef1e 100644
--- a/include/asm-m68knommu/io.h
+++ b/include/asm-m68knommu/io.h
@@ -172,8 +172,6 @@ extern void iounmap(void *addr);
/*
* Macros used for converting between virtual and physical mappings.
*/
-#define mm_ptov(vaddr) ((void *) (vaddr))
-#define mm_vtop(vaddr) ((unsigned long) (vaddr))
#define phys_to_virt(vaddr) ((void *) (vaddr))
#define virt_to_phys(vaddr) ((unsigned long) (vaddr))
diff --git a/include/asm-v850/io.h b/include/asm-v850/io.h
index cc364fc..cdad251 100644
--- a/include/asm-v850/io.h
+++ b/include/asm-v850/io.h
@@ -122,8 +122,6 @@ outsl (unsigned long port, const void *src, unsigned long count)
#endif
/* Conversion between virtual and physical mappings. */
-#define mm_ptov(addr) ((void *)__phys_to_virt (addr))
-#define mm_vtop(addr) ((unsigned long)__virt_to_phys (addr))
#define phys_to_virt(addr) ((void *)__phys_to_virt (addr))
#define virt_to_phys(addr) ((unsigned long)__virt_to_phys (addr))
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [2.6 patch] remove mm_{ptov,vtop}()
2007-10-24 16:26 [2.6 patch] remove mm_{ptov,vtop}() Adrian Bunk
@ 2007-10-24 23:38 ` Greg Ungerer
2007-10-26 3:26 ` Bryan Wu
1 sibling, 0 replies; 3+ messages in thread
From: Greg Ungerer @ 2007-10-24 23:38 UTC (permalink / raw)
To: Adrian Bunk; +Cc: bryan.wu, ysato, Miles Bader, linux-kernel
Adrian Bunk wrote:
> This patch removes the unused mm_{ptov,vtop}().
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
> ---
>
> include/asm-blackfin/io.h | 2 --
> include/asm-h8300/io.h | 2 --
> include/asm-h8300/virtconvert.h | 2 --
> include/asm-m68knommu/io.h | 2 --
> include/asm-v850/io.h | 2 --
> 5 files changed, 10 deletions(-)
>
> c2472eb3a1eaaa4211863e6091817b4078b6a53e
> diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h
> index d1d2e6b..f3d8126 100644
> --- a/include/asm-blackfin/io.h
> +++ b/include/asm-blackfin/io.h
> @@ -187,8 +187,6 @@ extern void blkfin_inv_cache_all(void);
> #define page_to_phys(page) ((page - mem_map) << PAGE_SHIFT)
> #define page_to_bus(page) ((page - mem_map) << PAGE_SHIFT)
>
> -#define mm_ptov(vaddr) ((void *) (vaddr))
> -#define mm_vtop(vaddr) ((unsigned long) (vaddr))
> #define phys_to_virt(vaddr) ((void *) (vaddr))
> #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
>
> diff --git a/include/asm-h8300/io.h b/include/asm-h8300/io.h
> index 7543a57..26dc6cc 100644
> --- a/include/asm-h8300/io.h
> +++ b/include/asm-h8300/io.h
> @@ -302,8 +302,6 @@ static __inline__ void ctrl_outl(unsigned long b, unsigned long addr)
> /*
> * Macros used for converting between virtual and physical mappings.
> */
> -#define mm_ptov(vaddr) ((void *) (vaddr))
> -#define mm_vtop(vaddr) ((unsigned long) (vaddr))
> #define phys_to_virt(vaddr) ((void *) (vaddr))
> #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
>
> diff --git a/include/asm-h8300/virtconvert.h b/include/asm-h8300/virtconvert.h
> index ee7d5ea..19cfd62 100644
> --- a/include/asm-h8300/virtconvert.h
> +++ b/include/asm-h8300/virtconvert.h
> @@ -10,8 +10,6 @@
> #include <asm/setup.h>
> #include <asm/page.h>
>
> -#define mm_ptov(vaddr) ((void *) (vaddr))
> -#define mm_vtop(vaddr) ((unsigned long) (vaddr))
> #define phys_to_virt(vaddr) ((void *) (vaddr))
> #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
>
> diff --git a/include/asm-m68knommu/io.h b/include/asm-m68knommu/io.h
> index 653d9b2..6adef1e 100644
> --- a/include/asm-m68knommu/io.h
> +++ b/include/asm-m68knommu/io.h
> @@ -172,8 +172,6 @@ extern void iounmap(void *addr);
> /*
> * Macros used for converting between virtual and physical mappings.
> */
> -#define mm_ptov(vaddr) ((void *) (vaddr))
> -#define mm_vtop(vaddr) ((unsigned long) (vaddr))
> #define phys_to_virt(vaddr) ((void *) (vaddr))
> #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
>
> diff --git a/include/asm-v850/io.h b/include/asm-v850/io.h
> index cc364fc..cdad251 100644
> --- a/include/asm-v850/io.h
> +++ b/include/asm-v850/io.h
> @@ -122,8 +122,6 @@ outsl (unsigned long port, const void *src, unsigned long count)
> #endif
>
> /* Conversion between virtual and physical mappings. */
> -#define mm_ptov(addr) ((void *)__phys_to_virt (addr))
> -#define mm_vtop(addr) ((unsigned long)__virt_to_phys (addr))
> #define phys_to_virt(addr) ((void *)__phys_to_virt (addr))
> #define virt_to_phys(addr) ((unsigned long)__virt_to_phys (addr))
>
>
>
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [2.6 patch] remove mm_{ptov,vtop}()
2007-10-24 16:26 [2.6 patch] remove mm_{ptov,vtop}() Adrian Bunk
2007-10-24 23:38 ` Greg Ungerer
@ 2007-10-26 3:26 ` Bryan Wu
1 sibling, 0 replies; 3+ messages in thread
From: Bryan Wu @ 2007-10-26 3:26 UTC (permalink / raw)
To: Adrian Bunk; +Cc: bryan.wu, ysato, gerg, Miles Bader, linux-kernel
On 10/25/07, Adrian Bunk <bunk@kernel.org> wrote:
> This patch removes the unused mm_{ptov,vtop}().
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
>
> include/asm-blackfin/io.h | 2 --
Acked-by: Bryan Wu <bryan.wu@analog.com>
Thanks a lot
> include/asm-h8300/io.h | 2 --
> include/asm-h8300/virtconvert.h | 2 --
> include/asm-m68knommu/io.h | 2 --
> include/asm-v850/io.h | 2 --
> 5 files changed, 10 deletions(-)
>
> c2472eb3a1eaaa4211863e6091817b4078b6a53e
> diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h
> index d1d2e6b..f3d8126 100644
> --- a/include/asm-blackfin/io.h
> +++ b/include/asm-blackfin/io.h
> @@ -187,8 +187,6 @@ extern void blkfin_inv_cache_all(void);
> #define page_to_phys(page) ((page - mem_map) << PAGE_SHIFT)
> #define page_to_bus(page) ((page - mem_map) << PAGE_SHIFT)
>
> -#define mm_ptov(vaddr) ((void *) (vaddr))
> -#define mm_vtop(vaddr) ((unsigned long) (vaddr))
> #define phys_to_virt(vaddr) ((void *) (vaddr))
> #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
>
> diff --git a/include/asm-h8300/io.h b/include/asm-h8300/io.h
> index 7543a57..26dc6cc 100644
> --- a/include/asm-h8300/io.h
> +++ b/include/asm-h8300/io.h
> @@ -302,8 +302,6 @@ static __inline__ void ctrl_outl(unsigned long b, unsigned long addr)
> /*
> * Macros used for converting between virtual and physical mappings.
> */
> -#define mm_ptov(vaddr) ((void *) (vaddr))
> -#define mm_vtop(vaddr) ((unsigned long) (vaddr))
> #define phys_to_virt(vaddr) ((void *) (vaddr))
> #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
>
> diff --git a/include/asm-h8300/virtconvert.h b/include/asm-h8300/virtconvert.h
> index ee7d5ea..19cfd62 100644
> --- a/include/asm-h8300/virtconvert.h
> +++ b/include/asm-h8300/virtconvert.h
> @@ -10,8 +10,6 @@
> #include <asm/setup.h>
> #include <asm/page.h>
>
> -#define mm_ptov(vaddr) ((void *) (vaddr))
> -#define mm_vtop(vaddr) ((unsigned long) (vaddr))
> #define phys_to_virt(vaddr) ((void *) (vaddr))
> #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
>
> diff --git a/include/asm-m68knommu/io.h b/include/asm-m68knommu/io.h
> index 653d9b2..6adef1e 100644
> --- a/include/asm-m68knommu/io.h
> +++ b/include/asm-m68knommu/io.h
> @@ -172,8 +172,6 @@ extern void iounmap(void *addr);
> /*
> * Macros used for converting between virtual and physical mappings.
> */
> -#define mm_ptov(vaddr) ((void *) (vaddr))
> -#define mm_vtop(vaddr) ((unsigned long) (vaddr))
> #define phys_to_virt(vaddr) ((void *) (vaddr))
> #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
>
> diff --git a/include/asm-v850/io.h b/include/asm-v850/io.h
> index cc364fc..cdad251 100644
> --- a/include/asm-v850/io.h
> +++ b/include/asm-v850/io.h
> @@ -122,8 +122,6 @@ outsl (unsigned long port, const void *src, unsigned long count)
> #endif
>
> /* Conversion between virtual and physical mappings. */
> -#define mm_ptov(addr) ((void *)__phys_to_virt (addr))
> -#define mm_vtop(addr) ((unsigned long)__virt_to_phys (addr))
> #define phys_to_virt(addr) ((void *)__phys_to_virt (addr))
> #define virt_to_phys(addr) ((unsigned long)__virt_to_phys (addr))
>
>
> -
> 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/
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-26 3:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-24 16:26 [2.6 patch] remove mm_{ptov,vtop}() Adrian Bunk
2007-10-24 23:38 ` Greg Ungerer
2007-10-26 3:26 ` Bryan Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).