From: Ingo Molnar Date: Wed, 30 Jan 2008 12:32:43 +0000 (+0100) Subject: x86: page.h: move and unify types for pagetable entry, #4 X-Git-Tag: v2.6.25-rc1~1143^2~405 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d6e3cf63e927310f65e21132f1d1c50e3aa4c2b0;p=karo-tx-linux.git x86: page.h: move and unify types for pagetable entry, #4 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h index a522fbada97e..530439e0d340 100644 --- a/include/asm-x86/page.h +++ b/include/asm-x86/page.h @@ -92,6 +92,9 @@ typedef unsigned long phys_addr_t; typedef struct { pteval_t pte; } pte_t; +#define native_pte_val(x) ((x).pte) +#define native_make_pte(x) ((pte_t) { (x) } ) + #endif /* !__ASSEMBLY__ */ #endif /* CONFIG_X86_64 */