[ARM] remove a common set of __virt_to_bus definitions
commitb5ee9002583fc14e6d45a04c18f208987a8fbced
authorNicolas Pitre <nico@cam.org>
Sat, 6 Sep 2008 01:53:30 +0000 (5 21:53 -0400)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Nov 2008 15:36:49 +0000 (28 15:36 +0000)
treec0202fd968667710643144e036d369eef874c655
parent75f4aa15cf05ce6d99c8261cf57dcd749877fd1c
[ARM] remove a common set of __virt_to_bus definitions

Let's provide an overridable default instead of having every machine
class define __virt_to_bus and __bus_to_virt to the same thing.  What
most platforms are using is bus_addr == phys_addr so such is the default.

One exception is ebsa110 which has no DMA what so ever, so the actual
definition is not important except only for proper compilation.  Also
added a comment about the special footbridge bus translation.

Let's also remove comments alluding to set_dma_addr which is not
(and should not) be commonly used.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
39 files changed:
arch/arm/include/asm/memory.h
arch/arm/mach-aaec2000/include/mach/memory.h
arch/arm/mach-at91/include/mach/memory.h
arch/arm/mach-clps711x/include/mach/memory.h
arch/arm/mach-clps7500/include/mach/memory.h
arch/arm/mach-davinci/include/mach/memory.h
arch/arm/mach-ebsa110/include/mach/memory.h
arch/arm/mach-ep93xx/include/mach/memory.h
arch/arm/mach-footbridge/include/mach/memory.h
arch/arm/mach-h720x/include/mach/memory.h
arch/arm/mach-imx/include/mach/memory.h
arch/arm/mach-integrator/include/mach/memory.h
arch/arm/mach-iop13xx/include/mach/memory.h
arch/arm/mach-iop32x/include/mach/memory.h
arch/arm/mach-iop33x/include/mach/memory.h
arch/arm/mach-ixp2000/include/mach/memory.h
arch/arm/mach-ixp23xx/include/mach/memory.h
arch/arm/mach-ixp4xx/include/mach/memory.h
arch/arm/mach-kirkwood/include/mach/memory.h
arch/arm/mach-ks8695/include/mach/memory.h
arch/arm/mach-l7200/include/mach/memory.h
arch/arm/mach-lh7a40x/include/mach/memory.h
arch/arm/mach-loki/include/mach/memory.h
arch/arm/mach-msm/include/mach/memory.h
arch/arm/mach-mv78xx0/include/mach/memory.h
arch/arm/mach-netx/include/mach/memory.h
arch/arm/mach-ns9xxx/include/mach/memory.h
arch/arm/mach-orion5x/include/mach/memory.h
arch/arm/mach-pnx4008/include/mach/memory.h
arch/arm/mach-pxa/include/mach/memory.h
arch/arm/mach-realview/include/mach/memory.h
arch/arm/mach-rpc/include/mach/memory.h
arch/arm/mach-s3c2400/include/mach/memory.h
arch/arm/mach-s3c2410/include/mach/memory.h
arch/arm/mach-sa1100/include/mach/memory.h
arch/arm/mach-shark/include/mach/memory.h
arch/arm/mach-versatile/include/mach/memory.h
arch/arm/plat-mxc/include/mach/memory.h
arch/arm/plat-omap/include/mach/memory.h