|
@@ -60,7 +60,7 @@ static void *hexagon_dma_alloc_coherent(struct device *dev, size_t size,
|
|
|
panic("Can't create %s() memory pool!", __func__);
|
|
|
else
|
|
|
gen_pool_add(coherent_pool,
|
|
|
- pfn_to_virt(max_low_pfn),
|
|
|
+ (unsigned long)pfn_to_virt(max_low_pfn),
|
|
|
hexagon_coherent_pool_size, -1);
|
|
|
}
|
|
|
|