Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: d61172b ("mm/core, x86/mm/pkeys: Differentiate instruction fetches") Cc: Dave Hansen <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Acked-by: Guan Xuetao <[email protected]>
- Loading branch information