diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:42 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:32:42 -0500 |
commit | 7a2389b457a03f226b441b5c53f9808d4eefdcea (patch) | |
tree | 1dc266c9658a72affb0cc603214c1312e8932355 /include/asm-x86/pgtable_64.h | |
parent | 3da1bcc2659de27094592e5a037d0b1d59351e03 (diff) |
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 <jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/pgtable_64.h')
-rw-r--r-- | include/asm-x86/pgtable_64.h | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
79 | 79 | ||
80 | static inline void set_pmd(pmd_t *dst, pmd_t val) | 80 | static inline void set_pmd(pmd_t *dst, pmd_t val) |
81 | { | 81 | { |
82 | pmd_val(*dst) = pmd_val(val); | 82 | *dst = val; |
83 | } | 83 | } |
84 | 84 | ||
85 | static inline void set_pud(pud_t *dst, pud_t val) | 85 | static inline void set_pud(pud_t *dst, pud_t val) |
86 | { | 86 | { |
87 | pud_val(*dst) = pud_val(val); | 87 | *dst = val; |
88 | } | 88 | } |
89 | 89 | ||
90 | static inline void pud_clear (pud_t *pud) | 90 | static inline void pud_clear (pud_t *pud) |
@@ -94,7 +94,7 @@ static inline void pud_clear (pud_t *pud) | |||
94 | 94 | ||
95 | static inline void set_pgd(pgd_t *dst, pgd_t val) | 95 | static inline void set_pgd(pgd_t *dst, pgd_t val) |
96 | { | 96 | { |
97 | pgd_val(*dst) = pgd_val(val); | 97 | *dst = val; |
98 | } | 98 | } |
99 | 99 | ||
100 | static inline void pgd_clear (pgd_t * pgd) | 100 | static inline void pgd_clear (pgd_t * pgd) |