signal/x86: Remove pkey parameter from bad_area_nosemaphore
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 17 Sep 2018 22:13:13 +0000 (00:13 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 21 Sep 2018 12:48:04 +0000 (14:48 +0200)
commit768fd9c69bb56df44ed5e58de1a7a4f8b8bb1701
tree4926462cdb0c8a3ec2f7063da69e7335959270cf
parent164881b61429d38717408fa5d175cb55a6291969
signal/x86: Remove pkey parameter from bad_area_nosemaphore

The function bad_area_nosemaphore always sets si_code to SEGV_MAPERR
and as such can never return a pkey parameter.  Therefore remove the
unusable pkey parameter from bad_area_nosemaphore.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/x86/mm/fault.c