aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2016-12-16 11:10:41 -0800
committerJohn Stultz <john.stultz@linaro.org>2017-01-23 17:15:15 -0800
commit1340ad973ee82c9caf08ff253e43ccae36bf7ab8 (patch)
tree6087c0e9427e4b90f7a7429175e0bd68b58f9410
parente13deb9a8c584779d8cf85095cbdae801f23a846 (diff)
MALI: Build fixup for 4.10
Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r--drivers/gpu/arm/utgard/linux/mali_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/arm/utgard/linux/mali_memory.c b/drivers/gpu/arm/utgard/linux/mali_memory.c
index c45f6ee25887..dbd90e792f23 100644
--- a/drivers/gpu/arm/utgard/linux/mali_memory.c
+++ b/drivers/gpu/arm/utgard/linux/mali_memory.c
@@ -61,7 +61,7 @@ static int mali_mem_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
int ret;
int prefetch_num = MALI_VM_NUM_FAULT_PREFETCH;
- unsigned long address = (unsigned long)vmf->virtual_address;
+ unsigned long address = (unsigned long)vmf->address;
MALI_DEBUG_ASSERT(alloc->backend_handle);
MALI_DEBUG_ASSERT((unsigned long)alloc->cpu_mapping.addr <= address);