From c4403aef8fcf5cb5dd03e39ddb83fbd4f0cc0a4d Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 12 Mar 2004 00:18:04 -0700 Subject: PPC32: consistent_free only takes one arguement. --- include/asm-ppc/dma-mapping.h | 2 +- include/asm-ppc/io.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/asm-ppc/dma-mapping.h b/include/asm-ppc/dma-mapping.h index 4b9a51dd2a1b..d38cd112c1c4 100644 --- a/include/asm-ppc/dma-mapping.h +++ b/include/asm-ppc/dma-mapping.h @@ -49,7 +49,7 @@ dma_free_coherent(struct device *dev, size_t size, void *vaddr, } #endif - consistent_free(vaddr, size); + consistent_free(vaddr); } static inline dma_addr_t diff --git a/include/asm-ppc/io.h b/include/asm-ppc/io.h index 8849fec5600b..8bfae09098eb 100644 --- a/include/asm-ppc/io.h +++ b/include/asm-ppc/io.h @@ -421,7 +421,7 @@ extern void consistent_sync_page(struct page *page, unsigned long offset, #define dma_cache_wback_inv(_start,_size) do { } while (0) #define consistent_alloc(gfp, size, handle) NULL -#define consistent_free(addr, size) do { } while (0) +#define consistent_free(addr) do { } while (0) #define consistent_sync(addr, size, rw) do { } while (0) #define consistent_sync_page(pg, off, sz, rw) do { } while (0) -- cgit v1.2.3