parisc: Try to fixup kernel exception in bad_area_nosemaphore path of do_page_fault()
PATCH 1/1 parisc: Try to fixup kernel exception in bad_area_nosemaphore path of do_page_fault()
parisc: Try to fixup kernel exception in bad_area_nosemaphore path of do_page_fault()
Signed-off-by John David Anglin <[email protected]>
---
arch/parisc/mm/fault.c +4 -0
@@ -363,6 +363,10 @@ void do_page_fault(struct pt_regs *regs, unsigned long code,mmap_read_unlock (mm); bad_area_nosemaphore: +if (!user_mode (regs) &&fixup_exception (regs)) { +return ; + } +if (user_mode (regs)) {int signo, si_code;