From: Ingo Molnar Date: Wed, 30 Jan 2008 12:32:42 +0000 (+0100) Subject: x86: page.h: move and unify types for pagetable entry, #2 X-Git-Tag: v2.6.25-rc1~1143^2~407 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7a2389b457a03f226b441b5c53f9808d4eefdcea;p=karo-tx-linux.git x86: page.h: move and unify types for pagetable entry, #2 based on: Subject: x86: page.h: move and unify types for pagetable entry From: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h index 5c252d9fee1b..3f280105d7b3 100644 --- a/include/asm-x86/pgtable_64.h +++ b/include/asm-x86/pgtable_64.h @@ -79,12 +79,12 @@ static inline void set_pte(pte_t *dst, pte_t val) static inline void set_pmd(pmd_t *dst, pmd_t val) { - pmd_val(*dst) = pmd_val(val); + *dst = val; } static inline void set_pud(pud_t *dst, pud_t val) { - pud_val(*dst) = pud_val(val); + *dst = val; } static inline void pud_clear (pud_t *pud) @@ -94,7 +94,7 @@ static inline void pud_clear (pud_t *pud) static inline void set_pgd(pgd_t *dst, pgd_t val) { - pgd_val(*dst) = pgd_val(val); + *dst = val; } static inline void pgd_clear (pgd_t * pgd)