diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-19 10:00:32 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-07-07 18:18:57 +0200 |
commit | af6f23b88e9508f1cb8d0af008bb175019428f73 (patch) | |
tree | a4f53323171d4d7f76b9834b1648f9ddcd8234e6 /arch/arm/include/asm/memory.h | |
parent | f9774cfd5062d69dc8ba522369638f919c35391e (diff) | |
download | linux-af6f23b88e9508f1cb8d0af008bb175019428f73.tar.bz2 |
ARM/dma-mapping: use the generic versions of dma_to_phys/phys_to_dma by default
Only the footbridge platforms provide their own DMA address translation
helpers, so switch to the generic version for all other platforms, and
consolidate the footbridge implementation to remove two levels of
indirection.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm/include/asm/memory.h')
-rw-r--r-- | arch/arm/include/asm/memory.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index f673e13e0f94..a55a9038abc8 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h @@ -378,8 +378,6 @@ static inline unsigned long __virt_to_idmap(unsigned long x) #ifndef __virt_to_bus #define __virt_to_bus __virt_to_phys #define __bus_to_virt __phys_to_virt -#define __pfn_to_bus(x) __pfn_to_phys(x) -#define __bus_to_pfn(x) __phys_to_pfn(x) #endif /* |