Commit 7a2389b4 authored by Ingo Molnar's avatar Ingo Molnar

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: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 3da1bcc2
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment