summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/ptdump/book3s64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/ptdump/book3s64.c')
-rw-r--r--arch/powerpc/mm/ptdump/book3s64.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/mm/ptdump/book3s64.c b/arch/powerpc/mm/ptdump/book3s64.c
index 14f73868db66..5ad92d9dc5d1 100644
--- a/arch/powerpc/mm/ptdump/book3s64.c
+++ b/arch/powerpc/mm/ptdump/book3s64.c
@@ -103,8 +103,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 */