linux/arch
Joerg Roedel 67796bf7dc x86/dma: unify definition of pci_unmap_addr* and pci_unmap_len macros
Impact: unification of pci-dma macros and pci_32.h removal

This patch unifies the definition of the pci_unmap_addr*, pci_unmap_len*
and DECLARE_PCI_UNMAP* macros. This makes sense because the pci_unmap
functions are no longer no-ops anymore when the kernel runs with
CONFIG_DMA_API_DEBUG. Without an iommu or DMA_API_DEBUG it is a no-op on 32 bit
because the dma mapping path returns a physical address and therefore the
dma-api implementation has no internal state which needs to be destroyed with
an unmap call.
This unification also simplifies the port of x86_64 iommu drivers to 32 bit x86
and let us get rid of pci_32.h.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
2009-04-03 13:13:45 +02:00
..
alpha Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
arm Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
avr32 Simplify copy_thread() 2009-04-02 19:04:51 -07:00
blackfin Simplify copy_thread() 2009-04-02 19:04:51 -07:00
cris Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2009-04-02 21:09:10 -07:00
frv Simplify copy_thread() 2009-04-02 19:04:51 -07:00
h8300 Simplify copy_thread() 2009-04-02 19:04:51 -07:00
ia64 ia64: implement interrupt-enabling rwlocks 2009-04-02 19:05:11 -07:00
m32r Simplify copy_thread() 2009-04-02 19:04:51 -07:00
m68k Simplify copy_thread() 2009-04-02 19:04:51 -07:00
m68knommu Simplify copy_thread() 2009-04-02 19:04:51 -07:00
mips Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
mn10300 Simplify copy_thread() 2009-04-02 19:04:51 -07:00
parisc Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
powerpc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2009-04-02 21:09:10 -07:00
s390 Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
sh Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
sparc Allow rwlocks to re-enable interrupts 2009-04-02 19:05:11 -07:00
um Simplify copy_thread() 2009-04-02 19:04:51 -07:00
x86 x86/dma: unify definition of pci_unmap_addr* and pci_unmap_len macros 2009-04-03 13:13:45 +02:00
xtensa Simplify copy_thread() 2009-04-02 19:04:51 -07:00
.gitignore
Kconfig dma-debug: add Kconfig entry 2009-03-05 14:36:50 +01:00