diff options
Diffstat (limited to 'arch/score')
-rw-r--r-- | arch/score/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/score/mm/fault.c b/arch/score/mm/fault.c index 52238983..98384f7 100644 --- a/arch/score/mm/fault.c +++ b/arch/score/mm/fault.c @@ -73,7 +73,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write, * If we're in an interrupt or have no user * context, we must not take the fault.. */ - if (in_atomic() || !mm) + if (in_atomic() || !mm || current->pagefault_disabled) goto bad_area_nosemaphore; if (user_mode(regs)) |