Skip to content

Commit

Permalink
x86: page.h: move and unify types for pagetable entry, #4
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Ingo Molnar committed Jan 30, 2008
1 parent ba2b6c5 commit d6e3cf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-x86/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d6e3cf6

Please sign in to comment.