diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:43 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:43 -0500 |
commit | d6e3cf63e927310f65e21132f1d1c50e3aa4c2b0 (patch) | |
tree | b95f060f4ae8bea3b6d7fbf876bf14fb59ef1c73 /include/asm-x86/page.h | |
parent | ba2b6c525eec459e1c6397f0f3eaeeafad153eab (diff) |
x86: page.h: move and unify types for pagetable entry, #4
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/page.h')
-rw-r--r-- | include/asm-x86/page.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h index a522fbada97..530439e0d34 100644 --- a/include/asm-x86/page.h +++ b/include/asm-x86/page.h | |||
@@ -92,6 +92,9 @@ typedef unsigned long phys_addr_t; | |||
92 | 92 | ||
93 | typedef struct { pteval_t pte; } pte_t; | 93 | typedef struct { pteval_t pte; } pte_t; |
94 | 94 | ||
95 | #define native_pte_val(x) ((x).pte) | ||
96 | #define native_make_pte(x) ((pte_t) { (x) } ) | ||
97 | |||
95 | #endif /* !__ASSEMBLY__ */ | 98 | #endif /* !__ASSEMBLY__ */ |
96 | 99 | ||
97 | #endif /* CONFIG_X86_64 */ | 100 | #endif /* CONFIG_X86_64 */ |