]> 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)
commit6013edb20cc175ed811281ac3ee80034e4379181
tree985e9e8c2423eb36528432a5c5f25808a449c573
parent39c35cecd578d4cbe8bcc6077d385c9d2b259f51
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