From: Colin Cross Date: Wed, 4 Apr 2012 20:50:43 +0000 (-0700) Subject: gpu: ion: ion_carveout_heap: fix for 3.4 X-Git-Tag: firefly_0821_release~4090^2~771 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=88bcb8eabbd0ec09d14831c7a6bf476c713c1461;p=firefly-linux-kernel-4.4.55.git gpu: ion: ion_carveout_heap: fix for 3.4 __arch_ioremap is no longer available, use __arm_ioremap instead. Change-Id: Ied98208a3c1be6bc5ac195c3ade496fbb5003f37 Signed-off-by: Colin Cross --- diff --git a/drivers/gpu/ion/ion_carveout_heap.c b/drivers/gpu/ion/ion_carveout_heap.c index 606adae13f48..b4fcb3c92479 100644 --- a/drivers/gpu/ion/ion_carveout_heap.c +++ b/drivers/gpu/ion/ion_carveout_heap.c @@ -99,14 +99,14 @@ void ion_carveout_heap_unmap_dma(struct ion_heap *heap, void *ion_carveout_heap_map_kernel(struct ion_heap *heap, struct ion_buffer *buffer) { - return __arch_ioremap(buffer->priv_phys, buffer->size, + return __arm_ioremap(buffer->priv_phys, buffer->size, MT_MEMORY_NONCACHED); } void ion_carveout_heap_unmap_kernel(struct ion_heap *heap, struct ion_buffer *buffer) { - __arch_iounmap(buffer->vaddr); + __arm_iounmap(buffer->vaddr); buffer->vaddr = NULL; return; }