riscv/mm/fault: Move vmalloc fault handling to vmalloc_fault()
authorPekka Enberg <penberg@kernel.org>
Tue, 25 Aug 2020 15:54:26 +0000 (18:54 +0300)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 16 Sep 2020 01:46:00 +0000 (18:46 -0700)
commitac416a724f113207407848ef58a0270cd03d94d1
treec315aeaecf13712de1d199e4360fdb4c9d711c8e
parenta51271d99cdd04910227060936d0598ba49fb1cc
riscv/mm/fault: Move vmalloc fault handling to vmalloc_fault()

This patch moves the vmalloc fault handling in do_page_fault() to
vmalloc_fault() 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