diff options
author | Christophe Leroy <[email protected]> | 2022-06-23 10:56:17 +0200 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-06-24 12:42:45 +1000 |
commit | 986481618023e18e187646b0fff05a3c337531cb (patch) | |
tree | 0cf1a235b90dfd788e318e588fe3d2ec77d2daab /scripts/gdb/linux/clk.py | |
parent | 19fc5bb93c6bbdce8292b4d7eed04e2fa118d2fe (diff) |
powerpc/book3e: Fix PUD allocation size in map_kernel_page()
Commit 2fb4706057bc ("powerpc: add support for folded p4d page tables")
erroneously changed PUD setup to a mix of PMD and PUD. Fix it.
While at it, use PTE_TABLE_SIZE instead of PAGE_SIZE for PTE tables
in order to avoid any confusion.
Fixes: 2fb4706057bc ("powerpc: add support for folded p4d page tables")
Cc: [email protected] # v5.8+
Signed-off-by: Christophe Leroy <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/95ddfd6176d53e6c85e13bd1c358359daa56775f.1655974558.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions