mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 04:41:26 +00:00
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>
This commit is contained in:
parent
ba2b6c525e
commit
d6e3cf63e9
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user