Re: [PATCH] ia64: Fix noncoherent DMA API so devres builds

2007-02-12 Thread Luck, Tony
On Sun, Feb 11, 2007 at 09:30:21PM -0800, Roland Dreier wrote: > 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 <[EMAIL PROTECTED

[PATCH] ia64: Fix noncoherent DMA API so devres builds

2007-02-11 Thread Roland Dreier
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.