aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/page_types.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-08 23:24:26 -0800
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-02-11 14:54:09 -0800
commit1dfc07aad5479f1fb832ff6f61a5a9ce822d9e1f (patch)
tree596437df1b3d2a3fa3dec8e366100190fe83c9c3 /arch/x86/include/asm/page_types.h
parent51c78eb3f0eb033f9fb4f2316851df1d9b07b953 (diff)
x86: move 2 and 3 level asm-generic defs into page-defs
Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Diffstat (limited to 'arch/x86/include/asm/page_types.h')
-rw-r--r--arch/x86/include/asm/page_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/page_types.h b/arch/x86/include/asm/page_types.h
index 65787ad4c59..92dfd251a65 100644
--- a/arch/x86/include/asm/page_types.h
+++ b/arch/x86/include/asm/page_types.h
@@ -53,10 +53,14 @@ typedef struct { pgprotval_t pgprot; } pgprot_t;
#if PAGETABLE_LEVELS > 3
typedef struct { pudval_t pud; } pud_t;
+#else
+#include <asm-generic/pgtable-nopud.h>
#endif
#if PAGETABLE_LEVELS > 2
typedef struct { pmdval_t pmd; } pmd_t;
+#else
+#include <asm-generic/pgtable-nopmd.h>
#endif
typedef struct page *pgtable_t;