mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue