]> git.baikalelectronics.ru Git - kernel.git/commit
riscv/mm/fault: Move no context handling to no_context()
authorPekka Enberg <penberg@kernel.org>
Tue, 25 Aug 2020 15:38:58 +0000 (18:38 +0300)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 16 Sep 2020 01:45:58 +0000 (18:45 -0700)
commitdd4ce6ecd0a4e4ba830389b90220eb2a3da4aa8a
tree985e9e8c2423eb36528432a5c5f25808a449c573
parent7a8b46c629296bd509deca6fc56dfa74718c11bc
riscv/mm/fault: Move no context handling to no_context()

This patch moves the no context handling in do_page_fault() to
no_context() function and converts gotos to calls to the new function.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/mm/fault.c