riscv: fix locking violation in page fault handler
When a user mode process accesses an address in the vmalloc area do_page_fault tries to unlock the mmap semaphore when it isn't locked. Signed-off-by:Andreas Schwab <schwab@suse.de> [Palmer: Duplicated code instead of a goto] Signed-off-by:
Palmer Dabbelt <palmer@sifive.com>
parent
a967a289
Please register or sign in to comment