|
@@ -885,7 +885,7 @@ static void dma_cache_maint_page(struct page *page, unsigned long offset,
|
|
|
static void __dma_page_cpu_to_dev(struct page *page, unsigned long off,
|
|
|
size_t size, enum dma_data_direction dir)
|
|
|
{
|
|
|
- unsigned long paddr;
|
|
|
+ phys_addr_t paddr;
|
|
|
|
|
|
dma_cache_maint_page(page, off, size, dir, dmac_map_area);
|
|
|
|
|
@@ -901,7 +901,7 @@ static void __dma_page_cpu_to_dev(struct page *page, unsigned long off,
|
|
|
static void __dma_page_dev_to_cpu(struct page *page, unsigned long off,
|
|
|
size_t size, enum dma_data_direction dir)
|
|
|
{
|
|
|
- unsigned long paddr = page_to_phys(page) + off;
|
|
|
+ phys_addr_t paddr = page_to_phys(page) + off;
|
|
|
|
|
|
/* FIXME: non-speculating: not required */
|
|
|
/* don't bother invalidating if DMA to device */
|