aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/pgtable.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h
index 4409dabe31c6..7aa34c8eb220 100644
--- a/include/asm-x86/pgtable.h
+++ b/include/asm-x86/pgtable.h
@@ -234,6 +234,12 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
234 234
235#ifndef __ASSEMBLY__ 235#ifndef __ASSEMBLY__
236 236
237enum {
238 PG_LEVEL_NONE,
239 PG_LEVEL_4K,
240 PG_LEVEL_2M,
241};
242
237/* 243/*
238 * Helper function that returns the kernel pagetable entry controlling 244 * Helper function that returns the kernel pagetable entry controlling
239 * the virtual address 'address'. NULL means no pagetable entry present. 245 * the virtual address 'address'. NULL means no pagetable entry present.