diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-25 11:18:00 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-26 15:37:40 +0900 |
commit | e257ad062a3ceaf36b0e883d0ef00b185daf500e (patch) | |
tree | bc31371ccb8f387556cb62175d7d1c3069f1e00c /include/asm-sh/io.h | |
parent | 0fbde9509d7b2f71b9326f9c5807a0b4193c7c76 (diff) | |
download | blackbird-op-linux-e257ad062a3ceaf36b0e883d0ef00b185daf500e.tar.gz blackbird-op-linux-e257ad062a3ceaf36b0e883d0ef00b185daf500e.zip |
sh: Kill off virt_to_bus()/bus_to_virt().
Wire up ARCH_NO_VIRT_TO_BUS, and kill off the remaining users. The
dma-mapping code really wanted virt_to_phys()/phys_to_virt() anyways,
there are no inherently special bus addresses.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/io.h')
-rw-r--r-- | include/asm-sh/io.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-sh/io.h b/include/asm-sh/io.h index aa80930ce8e4..e6a1877dcb20 100644 --- a/include/asm-sh/io.h +++ b/include/asm-sh/io.h @@ -241,10 +241,6 @@ static inline void *phys_to_virt(unsigned long address) #define virt_to_phys(address) ((unsigned long)(address)) #endif -#define virt_to_bus virt_to_phys -#define bus_to_virt phys_to_virt -#define page_to_bus page_to_phys - /* * readX/writeX() are used to access memory mapped devices. On some * architectures the memory mapped IO stuff needs to be accessed |