Browse Source

x86: Include pgtable_32|64_types.h in pgtable_types.h

Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Jeremy Fitzhardinge 16 years ago
parent
commit
1484096ceb
1 changed files with 6 additions and 0 deletions
  1. 6 0
      arch/x86/include/asm/pgtable_types.h

+ 6 - 0
arch/x86/include/asm/pgtable_types.h

@@ -217,4 +217,10 @@ extern pte_t *lookup_address(unsigned long address, unsigned int *level);
 
 
 #endif	/* !__ASSEMBLY__ */
 #endif	/* !__ASSEMBLY__ */
 
 
+#ifdef CONFIG_X86_32
+# include "pgtable_32_types.h"
+#else
+# include "pgtable_64_types.h"
+#endif
+
 #endif /* _ASM_X86_PGTABLE_DEFS_H */
 #endif /* _ASM_X86_PGTABLE_DEFS_H */