]> git.baikalelectronics.ru Git - kernel.git/commit
signal/powerpc: Specialize _exception_pkey for handling pkey exceptions
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 18 Sep 2018 08:56:25 +0000 (10:56 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 21 Sep 2018 13:52:43 +0000 (15:52 +0200)
commitb4a643fc500160a82d6dc2cb1fee28a2363d0743
tree74072d4c1cb24cc216f16fc4ac480371a86191d5
parentcfe11b6aa53dc1236612ee62d9cd443975943772
signal/powerpc: Specialize _exception_pkey for handling pkey exceptions

Now that _exception no longer calls _exception_pkey it is no longer
necessary to handle any signal with any si_code.  All pkey exceptions
are SIGSEGV with paired with SEGV_PKUERR.  So just handle
that case and remove the now unnecessary parameters from _exception_pkey.

Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/powerpc/include/asm/bug.h
arch/powerpc/kernel/traps.c
arch/powerpc/mm/fault.c