Skip to content

Commit

Permalink
x86: page.h: move and unify types for pagetable entry, #2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Jan 30, 2008
1 parent 3da1bcc commit 7a2389b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/asm-x86/pgtable_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 7a2389b

Please sign in to comment.