From d6e3cf63e927310f65e21132f1d1c50e3aa4c2b0 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Wed, 30 Jan 2008 13:32:43 +0100 Subject: [PATCH] x86: page.h: move and unify types for pagetable entry, #4 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- include/asm-x86/page.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/asm-x86/page.h b/include/asm-x86/page.h index a522fba..530439e 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 */ -- 2.7.4