]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Move mmap_sem unlock up from do_sigbus
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>
Tue, 14 Feb 2017 16:45:10 +0000 (17:45 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Mar 2017 11:08:53 +0000 (22:08 +1100)
commitaca1fa296b88be434dc5fd03d870ec8ea896036a
tree54a259cd001fca0c38082d52a666ce9f084ff74b
parent4821b51d3c1078f0e8f6117b7c117859dc2e502f
powerpc/mm: Move mmap_sem unlock up from do_sigbus

Move mmap_sem releasing in the do_sigbus()'s unique caller : mm_fault_error()

No functional changes.

Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/fault.c