summaryrefslogtreecommitdiff
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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/mm/ptdump/8xx.c b/arch/powerpc/mm/ptdump/8xx.c
index 8a797dcbf475..86da2a669680 100644
--- a/arch/powerpc/mm/ptdump/8xx.c
+++ b/arch/powerpc/mm/ptdump/8xx.c
@@ -11,8 +11,13 @@
static const struct flag_info flag_array[] = {
{
+#ifdef CONFIG_PPC_16K_PAGES
.mask = _PAGE_HUGE,
.val = _PAGE_HUGE,
+#else
+ .mask = _PAGE_SPS,
+ .val = _PAGE_SPS,
+#endif
.set = "huge",
.clear = " ",
}, {