summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/dump_pagetables.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-09-18 00:39:49 +0200
committerEric W. Biederman <ebiederm@xmission.com>2018-09-21 14:54:17 +0200
commitaba1ecd32c756e5d3c220aae9928d18c43d78cd0 (patch)
treee1e24b0666e25412c232a686ab82db4e86b6c115 /arch/x86/mm/dump_pagetables.c
parentsignal/x86: Don't compute pkey in __do_page_fault (diff)
downloadlinux-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