diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-06 01:36:30 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:01 -0800 |
commit | 870b8f8c43d000bb321b42a12212facc1087a748 (patch) | |
tree | 62870e2d8608887b8f7892049787f78edc3b8549 /include/asm-h8300 | |
parent | 7b892806b09dca77db8ef6acbb6c51271578d34d (diff) | |
download | blackbird-op-linux-870b8f8c43d000bb321b42a12212facc1087a748.tar.gz blackbird-op-linux-870b8f8c43d000bb321b42a12212facc1087a748.zip |
remove mm_{ptov,vtop}()
This patch removes the unused mm_{ptov,vtop}().
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Bryan Wu <bryan.wu@analog.com>
Cc: Miles Bader <miles.bader@necel.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-h8300')
-rw-r--r-- | include/asm-h8300/io.h | 2 | ||||
-rw-r--r-- | include/asm-h8300/virtconvert.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-h8300/io.h b/include/asm-h8300/io.h index 7543a57b4ea1..26dc6ccd9441 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 ee7d5ea10065..19cfd62b11c3 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)) |