diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-18 00:39:49 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-09-21 14:54:17 +0200 |
commit | aba1ecd32c756e5d3c220aae9928d18c43d78cd0 (patch) | |
tree | e1e24b0666e25412c232a686ab82db4e86b6c115 /arch/x86/mm/dump_pagetables.c | |
parent | signal/x86: Don't compute pkey in __do_page_fault (diff) | |
download | linux-aba1ecd32c756e5d3c220aae9928d18c43d78cd0.tar.xz linux-aba1ecd32c756e5d3c220aae9928d18c43d78cd0.zip |
signal/x86: Pass pkey not vma into __bad_area
There is only one caller of __bad_area that passes in PKUERR and thus
will generate a siginfo with si_pkey set. Therefore simplify the
logic and hoist reading of vma_pkey up into that caller, and just
pass *pkey into __bad_area.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/x86/mm/dump_pagetables.c')
0 files changed, 0 insertions, 0 deletions