From 71f2004249c105e63375b6e7dac601ee90394c1b Mon Sep 17 00:00:00 2001 From: Tomasz Figa Date: Thu, 9 May 2013 17:21:28 +0200 Subject: [PATCH] gpu: arm: mali400: mali: Do not use non-existent VM_RESERVED flag Signed-off-by: Tomasz Figa --- drivers/gpu/arm/mali400/mali/linux/mali_osk_low_level_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/arm/mali400/mali/linux/mali_osk_low_level_mem.c b/drivers/gpu/arm/mali400/mali/linux/mali_osk_low_level_mem.c index 21f7762..258f8b6 100644 --- a/drivers/gpu/arm/mali400/mali/linux/mali_osk_low_level_mem.c +++ b/drivers/gpu/arm/mali400/mali/linux/mali_osk_low_level_mem.c @@ -523,7 +523,7 @@ _mali_osk_errcode_t _mali_osk_mem_mapregion_init( mali_memory_allocation * descr The memory is reserved, meaning that it's present and can never be paged out (see also previous entry) */ vma->vm_flags |= VM_IO; - vma->vm_flags |= VM_RESERVED; + vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; vma->vm_flags |= VM_DONTCOPY; vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); -- 2.7.4