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)
commit5d8fb8a58659098a845235f08c1f69de0c96297c
tree74072d4c1cb24cc216f16fc4ac480371a86191d5
parentc1c7c85ceafe5a96c4d5fc648ff42a7102838dd7
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