summaryrefslogtreecommitdiff
path: root/include/linux/ptdump.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ptdump.h')
-rw-r--r--include/linux/ptdump.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/ptdump.h b/include/linux/ptdump.h
index c10513739bf9..8dbd51ea8626 100644
--- a/include/linux/ptdump.h
+++ b/include/linux/ptdump.h
@@ -18,8 +18,11 @@ struct ptdump_state {
const struct ptdump_range *range;
};
+bool ptdump_walk_pgd_level_core(struct seq_file *m,
+ struct mm_struct *mm, pgd_t *pgd,
+ bool checkwx, bool dmesg);
void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, pgd_t *pgd);
-void ptdump_check_wx(void);
+bool ptdump_check_wx(void);
static inline void debug_checkwx(void)
{