aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorToshi Kani <[email protected]>2018-03-13 17:03:46 +0000
committerThomas Gleixner <[email protected]>2018-03-14 19:22:42 +0000
commit18a955219bf7d9008ce480d4451b6b8bf4483a22 (patch)
treec9f1466cdcb2c0a3ce14aea2b2520f0547191af3 /fs/proc/array.c
parentMerge tag 'nfs-for-4.16-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs (diff)
downloadkernel-18a955219bf7d9008ce480d4451b6b8bf4483a22.tar.gz
kernel-18a955219bf7d9008ce480d4451b6b8bf4483a22.zip
x86/mm: Fix vmalloc_fault to use pXd_large
Gratian Crisan reported that vmalloc_fault() crashes when CONFIG_HUGETLBFS is not set since the function inadvertently uses pXn_huge(), which always return 0 in this case. ioremap() does not depend on CONFIG_HUGETLBFS. Fix vmalloc_fault() to call pXd_large() instead. Fixes: f4eafd8bcd52 ("x86/mm: Fix vmalloc_fault() to handle large pages properly") Reported-by: Gratian Crisan <[email protected]> Signed-off-by: Toshi Kani <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Borislav Petkov <[email protected]> Cc: Andy Lutomirski <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions