From: Jesper Nilsson Date: Fri, 30 Nov 2007 14:40:21 +0000 (+0100) Subject: CRIS: Remove define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY X-Git-Tag: v2.6.25-rc1~40^2~141 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8a8abf20e217465c00fa14fd27321401898654c;p=linux-2.6 CRIS: Remove define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY --- diff --git a/include/asm-cris/dma-mapping.h b/include/asm-cris/dma-mapping.h index 662cea7015..edc8d1bfaa 100644 --- a/include/asm-cris/dma-mapping.h +++ b/include/asm-cris/dma-mapping.h @@ -164,16 +164,5 @@ dma_cache_sync(struct device *dev, void *vaddr, size_t size, { } -#define ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY -extern int -dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr, - dma_addr_t device_addr, size_t size, int flags); - -extern void -dma_release_declared_memory(struct device *dev); - -extern void * -dma_mark_declared_memory_occupied(struct device *dev, - dma_addr_t device_addr, size_t size); #endif