summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/ptdump/8xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/ptdump/8xx.c')
-rw-r--r--arch/powerpc/mm/ptdump/8xx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/mm/ptdump/8xx.c b/arch/powerpc/mm/ptdump/8xx.c
index 86da2a669680..fac932eb8f9a 100644
--- a/arch/powerpc/mm/ptdump/8xx.c
+++ b/arch/powerpc/mm/ptdump/8xx.c
@@ -75,8 +75,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 */