signal/x86: Pass pkey by value
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 21 Sep 2018 13:27:32 +0000 (15:27 +0200)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 21 Sep 2018 13:29:57 +0000 (15:29 +0200)
commit419ceeb12865998b940ebd86d5fb415efde1e864
tree6719d6f2a03aad45a8822c773c7a149c458b6268
parentb4fd52f25c614f6904b86f708c20c82951c152ca
signal/x86: Pass pkey by value

Now that si_code == SEGV_PKUERR is the flag indicating that a pkey
is present there is no longer a need to pass a pointer to a local
pkey value, instead pkey can be passed more efficiently by value.

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