diff options
Diffstat (limited to 'arch/um/include/asm/pgtable-3level.h')
-rw-r--r-- | arch/um/include/asm/pgtable-3level.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/include/asm/pgtable-3level.h b/arch/um/include/asm/pgtable-3level.h index 084de4a9fc70..0032f9212e74 100644 --- a/arch/um/include/asm/pgtable-3level.h +++ b/arch/um/include/asm/pgtable-3level.h | |||
@@ -60,7 +60,7 @@ | |||
60 | set_pud(pud, __pud(_PAGE_TABLE + __pa(pmd))) | 60 | set_pud(pud, __pud(_PAGE_TABLE + __pa(pmd))) |
61 | 61 | ||
62 | #ifdef CONFIG_64BIT | 62 | #ifdef CONFIG_64BIT |
63 | #define set_pud(pudptr, pudval) set_64bit((phys_t *) (pudptr), pud_val(pudval)) | 63 | #define set_pud(pudptr, pudval) set_64bit((u64 *) (pudptr), pud_val(pudval)) |
64 | #else | 64 | #else |
65 | #define set_pud(pudptr, pudval) (*(pudptr) = (pudval)) | 65 | #define set_pud(pudptr, pudval) (*(pudptr) = (pudval)) |
66 | #endif | 66 | #endif |
@@ -73,7 +73,7 @@ static inline int pgd_newpage(pgd_t pgd) | |||
73 | static inline void pgd_mkuptodate(pgd_t pgd) { pgd_val(pgd) &= ~_PAGE_NEWPAGE; } | 73 | static inline void pgd_mkuptodate(pgd_t pgd) { pgd_val(pgd) &= ~_PAGE_NEWPAGE; } |
74 | 74 | ||
75 | #ifdef CONFIG_64BIT | 75 | #ifdef CONFIG_64BIT |
76 | #define set_pmd(pmdptr, pmdval) set_64bit((phys_t *) (pmdptr), pmd_val(pmdval)) | 76 | #define set_pmd(pmdptr, pmdval) set_64bit((u64 *) (pmdptr), pmd_val(pmdval)) |
77 | #else | 77 | #else |
78 | #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) | 78 | #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) |
79 | #endif | 79 | #endif |