Skip to content
Commit 8b7f938e authored by Mike Rapoport's avatar Mike Rapoport Committed by Helge Deller
Browse files

parisc: fix map_pages() to actually populate upper directory



The commit d96885e2 ("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: d96885e2 ("parisc: use pgtable-nopXd instead of 4level-fixup")
Reported-by: default avatarMeelis Roos <mroos@linux.ee>
Reported-by: default avatarJeroen Roovers <jer@gentoo.org>
Reported-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Tested-by: default avatarJeroen Roovers <jer@gentoo.org>
Tested-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 4f80b70e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment