diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2019-01-03 15:28:51 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-01-04 13:13:48 -0800 |
commit | d8d7d842e8286a98fb56df9caf5d19b46e01ba4b (patch) | |
tree | 407b1f36a1c33dc5a1d1bfde60955fdedcf0ccf5 /arch/arc/mm | |
parent | 34ec35ad8f5f4624e8391dbb83afb4c791f027e3 (diff) | |
download | linux-d8d7d842e8286a98fb56df9caf5d19b46e01ba4b.tar.gz linux-d8d7d842e8286a98fb56df9caf5d19b46e01ba4b.tar.bz2 linux-d8d7d842e8286a98fb56df9caf5d19b46e01ba4b.zip |
arch/arc/mm/fault.c: remove caller signal_pending_branch predictions
This is already done for us internally by the signal machinery.
Link: http://lkml.kernel.org/r/20181116002713.8474-4-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arc/mm')
-rw-r--r-- | arch/arc/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/mm/fault.c b/arch/arc/mm/fault.c index e2d9fc3fea01..a1d723197084 100644 --- a/arch/arc/mm/fault.c +++ b/arch/arc/mm/fault.c @@ -142,7 +142,7 @@ good_area: fault = handle_mm_fault(vma, address, flags); /* If Pagefault was interrupted by SIGKILL, exit page fault "early" */ - if (unlikely(fatal_signal_pending(current))) { + if (fatal_signal_pending(current)) { if ((fault & VM_FAULT_ERROR) && !(fault & VM_FAULT_RETRY)) up_read(&mm->mmap_sem); if (user_mode(regs)) |