OSDN Git Service

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)
commitcac4d1dc85be2996ea19aea4f6ac6525f4c97171
tree985e9e8c2423eb36528432a5c5f25808a449c573
parent4363287178a85e41cd59f9f1d423fbe1f9048ec8
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