[ARM] remove a common set of __virt_to_bus definitions

Previous thread: [ARM] versatile: remove IRQ mask definitions by Linux Kernel Mailing List on Tuesday, December 30, 2008 - 7:13 pm. (1 message)

Next thread: [ARM] rpc: remove obsolete IO accessors by Linux Kernel Mailing List on Tuesday, December 30, 2008 - 7:13 pm. (1 message)
From: Linux Kernel Mailing List
Date: Tuesday, December 30, 2008 - 7:13 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b5ee90...
Commit:     b5ee9002583fc14e6d45a04c18f208987a8fbced
Parent:     75f4aa15cf05ce6d99c8261cf57dcd749877fd1c
Author:     Nicolas Pitre <nico@cam.org>
AuthorDate: Fri Sep 5 21:53:30 2008 -0400
Committer:  Russell King <rmk+kernel@arm.linux.org.uk>
CommitDate: Fri Nov 28 15:36:49 2008 +0000

    [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>
---
 arch/arm/include/asm/memory.h                  |    5 +++++
 arch/arm/mach-aaec2000/include/mach/memory.h   |    3 ---
 arch/arm/mach-at91/include/mach/memory.h       |   11 -----------
 arch/arm/mach-clps711x/include/mach/memory.h   |   20 +-------------------
 arch/arm/mach-clps7500/include/mach/memory.h   |    7 -------
 arch/arm/mach-davinci/include/mach/memory.h    |    6 ------
 arch/arm/mach-ebsa110/include/mach/memory.h    |    7 -------
 arch/arm/mach-ep93xx/include/mach/memory.h     |    4 ----
 arch/arm/mach-footbridge/include/mach/memory.h |    9 +++++++++
 arch/arm/mach-h720x/include/mach/memory.h      |   17 -----------------
 arch/arm/mach-imx/include/mach/memory.h        |   10 ----------
 arch/arm/mach-integrator/include/mach/memory.h |    9 +--------
 arch/arm/mach-iop13xx/include/mach/memory.h    |   16 ...
Previous thread: [ARM] versatile: remove IRQ mask definitions by Linux Kernel Mailing List on Tuesday, December 30, 2008 - 7:13 pm. (1 message)

Next thread: [ARM] rpc: remove obsolete IO accessors by Linux Kernel Mailing List on Tuesday, December 30, 2008 - 7:13 pm. (1 message)