aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/page.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-09 02:24:26 -0500
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-02-11 17:54:09 -0500
commit1dfc07aad5479f1fb832ff6f61a5a9ce822d9e1f (patch)
tree596437df1b3d2a3fa3dec8e366100190fe83c9c3 /arch/x86/include/asm/page.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.h')
-rw-r--r--arch/x86/include/asm/page.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/page.h b/arch/x86/include/asm/page.h
index 3b2d2af951c3..da54f6c48a7f 100644
--- a/arch/x86/include/asm/page.h
+++ b/arch/x86/include/asm/page.h
@@ -58,8 +58,6 @@ static inline pudval_t native_pud_val(pud_t pud)
58 return pud.pud; 58 return pud.pud;
59} 59}
60#else /* PAGETABLE_LEVELS == 3 */ 60#else /* PAGETABLE_LEVELS == 3 */
61#include <asm-generic/pgtable-nopud.h>
62
63static inline pudval_t native_pud_val(pud_t pud) 61static inline pudval_t native_pud_val(pud_t pud)
64{ 62{
65 return native_pgd_val(pud.pgd); 63 return native_pgd_val(pud.pgd);
@@ -82,8 +80,6 @@ static inline pmdval_t native_pmd_val(pmd_t pmd)
82} 80}
83 81
84#else /* PAGETABLE_LEVELS == 2 */ 82#else /* PAGETABLE_LEVELS == 2 */
85#include <asm-generic/pgtable-nopmd.h>
86
87static inline pmdval_t native_pmd_val(pmd_t pmd) 83static inline pmdval_t native_pmd_val(pmd_t pmd)
88{ 84{
89 return native_pgd_val(pmd.pud.pgd); 85 return native_pgd_val(pmd.pud.pgd);