ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
authorWang Kefeng <wangkefeng.wang@huawei.com>
Tue, 13 Sep 2022 04:25:51 +0000 (05:25 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 22 Sep 2022 07:29:03 +0000 (08:29 +0100)
commit2ccd19b3ffac07cc7e75a2bd1ed779728bb67197
treed42c9b702c04b06a70827017adbf53dba85033ef
parent32844a8eecaa4a3e65841c53e43e04a9087d1ef6
ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()

After ARM supports p4d page tables, the pg_level for note_page()
in walk_pmd() should be 4, not 3, fix it.

Fixes: 84e6ffb2c49c ("arm: add support for folded p4d page tables")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/mm/dump.c