Re: [patch] More defines for dma-mapping-broken.h

From: Jeff Garzik
Date: Sun Feb 11 2007 - 10:50:11 EST


Heiko Carstens wrote:
From: Heiko Carstens <heiko.carstens@xxxxxxxxxx>

9ac7849e35f705830f7b016ff272b0ff1f7ff759 causes this on s390.
Since we don't support DMA extend dma-mapping-broken.h a bit.

drivers/base/dma-mapping.c: In function `dmam_noncoherent_release':
drivers/base/dma-mapping.c:32:
warning: implicit declaration of function `dma_free_noncoherent'
drivers/base/dma-mapping.c: In function `dmam_alloc_noncoherent':
drivers/base/dma-mapping.c:129:
warning: implicit declaration of function `dma_alloc_noncoherent'
drivers/base/dma-mapping.c:129:
warning: assignment makes pointer from integer without a cast

Cc: Tejun Heo <htejun@xxxxxxxxx>
Cc: Jeff Garzik <jeff@xxxxxxxxxx>
Cc: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---
include/asm-generic/dma-mapping-broken.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)

ACK


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/