riscv/mm/fault: Move access error check to function
Move the access error check into a access_error() function to simplify the control flow in do_page_fault(). Signed-off-by: NPekka Enberg <penberg@kernel.org> Signed-off-by: NPalmer Dabbelt <palmerdabbelt@google.com>
Showing
想要评论请 注册 或 登录