commit | afb8c6fee8ce9b54b9c810eea0597ef6a876abb7 | [log] [tgz] |
---|---|---|
author | Pekka Enberg <penberg@kernel.org> | Tue Aug 25 19:41:17 2020 +0300 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Tue Sep 15 18:46:05 2020 -0700 |
tree | b7b31318e373878e66f1324e7a00a275769adece | |
parent | 6747430197ed414be37e843064a7f365f4d1fd57 [diff] |
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: Pekka Enberg <penberg@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>