summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2004-03-12 00:18:04 -0700
committerTom Rini <trini@kernel.crashing.org>2004-03-12 00:18:04 -0700
commitc4403aef8fcf5cb5dd03e39ddb83fbd4f0cc0a4d (patch)
treecaffe0aa8b681cd05015ff0c5b5d492862952110 /include
parent746ac5d963cecdba5420498c86cbb8b4523a2da9 (diff)
PPC32: consistent_free only takes one arguement.
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/dma-mapping.h2
-rw-r--r--include/asm-ppc/io.h2
2 files changed, 2 insertions, 2 deletions
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)