summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/s390/mm/dump_pagetables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/mm/dump_pagetables.c b/arch/s390/mm/dump_pagetables.c
index 93a29e2f13d4..3c5e4055a3d2 100644
--- a/arch/s390/mm/dump_pagetables.c
+++ b/arch/s390/mm/dump_pagetables.c
@@ -129,7 +129,9 @@ static int ptdump_show(struct seq_file *m, void *v)
.marker = address_markers,
};
+ get_online_mems();
ptdump_walk_pgd(&st.ptdump, &init_mm, NULL);
+ put_online_mems();
return 0;
}
DEFINE_SHOW_ATTRIBUTE(ptdump);