diff options
author | Mike Rapoport <rppt@linux.ibm.com> | 2020-01-08 14:58:52 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2020-01-14 09:18:39 +0100 |
commit | 8b7f938e0a03776124781f19fb22443dfb519cff (patch) | |
tree | 1d03f28cbf92a5a0b484f816b12a5c0c9aeced5f /include/net/datalink.h | |
parent | 4f80b70e1953cb846dbdd1ce72cb17333d4c8d11 (diff) | |
download | linux-8b7f938e0a03776124781f19fb22443dfb519cff.tar.bz2 |
parisc: fix map_pages() to actually populate upper directory
The commit d96885e277b5 ("parisc: use pgtable-nopXd instead of
4level-fixup") converted PA-RISC to use folded page tables, but it missed
the conversion of pgd_populate() to pud_populate() in maps_pages()
function. This caused the upper page table directory to remain empty and
the system would crash as a result.
Using pud_populate() that actually populates the page table instead of
dummy pgd_populate() fixes the issue.
Fixes: d96885e277b5 ("parisc: use pgtable-nopXd instead of 4level-fixup")
Reported-by: Meelis Roos <mroos@linux.ee>
Reported-by: Jeroen Roovers <jer@gentoo.org>
Reported-by: Mikulas Patocka <mpatocka@redhat.com>
Tested-by: Jeroen Roovers <jer@gentoo.org>
Tested-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/net/datalink.h')
0 files changed, 0 insertions, 0 deletions