diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2016-02-09 19:07:56 +0300 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-03-12 02:18:02 +0300 |
commit | be00ed728c32ed8311d5191637067c9eaf0fca4b (patch) | |
tree | e911f4ee6fb96e6e9e77ea5e91f10a1345cb76cd /arch/powerpc/mm/pgtable_32.c | |
parent | 516d91893b548d7868adb9e0173a7ca307dc9c17 (diff) | |
download | linux-be00ed728c32ed8311d5191637067c9eaf0fca4b.tar.xz |
powerpc32: Fix pte_offset_kernel() to return NULL for bad pages
The fixmap related functions try to map kernel pages that are
already mapped through Large TLBs. pte_offset_kernel() has to
return NULL for LTLBs, otherwise the caller will try to access
level 2 table which doesn't exist
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc/mm/pgtable_32.c')
0 files changed, 0 insertions, 0 deletions