Commit c4403aef authored by Tom Rini's avatar Tom Rini

PPC32: consistent_free only takes one arguement.

parent 746ac5d9
......@@ -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
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment