Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm: mm: drop VM_FAULT_BADMAP/VM_FAULT_BADACCESS
If bad map or access, directly set code to SEGV_MAPRR or SEGV_ACCERR, also set fault to 0 and goto error handling, which make us to drop the arch's special vm fault reason. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kefeng Wang <[email protected]> Cc: Aishwarya TCV <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Cristian Marussi <[email protected]> Cc: Mark Brown <[email protected]> Cc: Russell King <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information