Commit d6e3cf63 authored by Ingo Molnar's avatar Ingo Molnar

x86: page.h: move and unify types for pagetable entry, #4

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent ba2b6c52
...@@ -92,6 +92,9 @@ typedef unsigned long phys_addr_t; ...@@ -92,6 +92,9 @@ typedef unsigned long phys_addr_t;
typedef struct { pteval_t pte; } pte_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 /* !__ASSEMBLY__ */
#endif /* CONFIG_X86_64 */ #endif /* CONFIG_X86_64 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment