kernel-ark/include
Roland Dreier b7de8e7e3c [PATCH] ia64: fix noncoherent DMA API so devres builds
On ia64, drivers/base/dma-mapping.c doesn't build because it calls
dma_alloc_noncoherent() and dma_free_noncoherent(), which appear to be
terminally broken; the calls end up generating errors like

    drivers/base/dma-mapping.c: In function 'dmam_noncoherent_release':
    drivers/base/dma-mapping.c:32: error: 'struct ia64_machine_vector' has no member named 'platform_dma_free_coherent'

because the multiple levels of macro expansion in <asm/dma-mapping.h> and
<asm/machvec.h> end up turning a call to dma_free_noncoherent() into
ia64_mv.platform_dma_free_coherent (instead of the intended
ia64_mv.dma_free_coherent).

This patch fixes this by converting dma_{alloc,free}_noncoherent() into
inline functions that call the corresponding coherent functions, instead of
trying to do this with macros.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-14 08:09:51 -08:00
..
acpi
asm-alpha
asm-arm
asm-arm26
asm-avr32
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386
asm-ia64 [PATCH] ia64: fix noncoherent DMA API so devres builds 2007-02-14 08:09:51 -08:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [MIPS] Fix sigset_t endianess swapping issues in 32-bit compat code. 2007-02-13 22:40:51 +00:00
asm-parisc
asm-powerpc [POWERPC] Use udbg_early_init() on ppc32 2007-02-14 11:55:16 +11:00
asm-ppc [POWERPC] ppc: Add support for AMCC Taishan 440GX eval board 2007-02-13 15:35:52 +11:00
asm-s390
asm-sh
asm-sh64
asm-sparc
asm-sparc64 [SPARC64]: Increase command line size to 2048 like other arches. 2007-02-12 15:15:47 -08:00
asm-um
asm-v850
asm-x86_64
asm-xtensa
crypto
keys
linux Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-13 22:02:32 -08:00
math-emu
media
mtd
net [IPSEC]: changing API of xfrm6_tunnel_register 2007-02-13 12:55:55 -08:00
pcmcia
rdma
rxrpc
scsi
sound [PATCH] mark struct file_operations const 1 2007-02-12 09:48:44 -08:00
video [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
Kbuild