11 #include <linux/export.h>
13 #include <asm/addrspace.h>
14 #include <asm/cacheflush.h>
21 if (PXSEG(vaddr) ==
P2SEG)
74 end = page + (1 <<
order);
87 static void __dma_free(
struct device *dev,
size_t size,
102 page = __dma_alloc(dev, size, handle, gfp);
116 pr_debug(
"dma_free_coherent addr %p (phys %08lx) size %u\n",
117 cpu_addr, (
unsigned long)handle, (
unsigned)size);
120 __dma_free(dev, size, page, handle);
130 page = __dma_alloc(dev, size, handle, gfp);
150 __dma_free(dev, size, page, handle);