unicore32: mm: Add missing parameter to arch_vma_access_permitted
authorGuenter Roeck <linux@roeck-us.net>
Mon, 21 Mar 2016 11:20:53 +0000 (04:20 -0700)
committerXuetao Guan <gxt@mprc.pku.edu.cn>
Wed, 4 May 2016 03:58:39 +0000 (11:58 +0800)
commitc83d8b2fc98606ac6a9a0cb5f42908488314ea22
tree53fe0237543a853f019f914fba3ef20a4628227f
parent7391daf2ffc780679d6ab3fad1db2619e5dd2c2a
unicore32: mm: Add missing parameter to arch_vma_access_permitted

unicore32 fails to compile with the following errors.

mm/memory.c: In function ‘__handle_mm_fault’:
mm/memory.c:3381: error:
too many arguments to function ‘arch_vma_access_permitted’
mm/gup.c: In function ‘check_vma_flags’:
mm/gup.c:456: error:
too many arguments to function ‘arch_vma_access_permitted’
mm/gup.c: In function ‘vma_permits_fault’:
mm/gup.c:640: error:
too many arguments to function ‘arch_vma_access_permitted’

Fixes: d61172b4b695b ("mm/core, x86/mm/pkeys: Differentiate instruction fetches")
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
arch/unicore32/include/asm/mmu_context.h
This page took 0.025007 seconds and 5 git commands to generate.