summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/ptdump/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/ptdump/shared.c')
-rw-r--r--arch/powerpc/mm/ptdump/shared.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/mm/ptdump/shared.c b/arch/powerpc/mm/ptdump/shared.c
index c005fe041c18..03607ab90c66 100644
--- a/arch/powerpc/mm/ptdump/shared.c
+++ b/arch/powerpc/mm/ptdump/shared.c
@@ -68,8 +68,10 @@ static const struct flag_info flag_array[] = {
};
struct pgtable_level pg_level[5] = {
- {
- }, { /* pgd */
+ { /* pgd */
+ .flag = flag_array,
+ .num = ARRAY_SIZE(flag_array),
+ }, { /* p4d */
.flag = flag_array,
.num = ARRAY_SIZE(flag_array),
}, { /* pud */