]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - include/linux/ptdump.h
x86: mm: ptdump: calculate effective permissions correctly
[thirdparty/linux.git] / include / linux / ptdump.h
index a67065c403c38e0db30c9d929757e8349a108671..ac01502763bfe644f72aa313c022830806db5bbc 100644 (file)
@@ -14,6 +14,7 @@ struct ptdump_state {
        /* level is 0:PGD to 4:PTE, or -1 if unknown */
        void (*note_page)(struct ptdump_state *st, unsigned long addr,
                          int level, unsigned long val);
+       void (*effective_prot)(struct ptdump_state *st, int level, u64 val);
        const struct ptdump_range *range;
 };