Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80459
b: refs/heads/master
c: c6ca18e
h: refs/heads/master
i:
  80457: 4a3c565
  80455: c23b133
v: v3
  • Loading branch information
Andi Kleen authored and Ingo Molnar committed Jan 30, 2008
1 parent ddce0e7 commit 71dc393
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c93c82bbea20bef627dbe8e34a4bc8e526217104
refs/heads/master: c6ca18eb759c43ae20d953ef90c3de4557f9342a
2 changes: 2 additions & 0 deletions trunk/include/asm-x86/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
return __pte(val);
}

#define pte_pgprot(x) __pgprot(pte_val(x) & (0xfff | _PAGE_NX))

#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
#else /* !CONFIG_PARAVIRT */
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-x86/pgtable_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ static inline void native_pgd_clear(pgd_t * pgd)

#define pte_same(a, b) ((a).pte == (b).pte)

#define pte_pgprot(a) (__pgprot((a).pte & ~PHYSICAL_PAGE_MASK))

#endif /* !__ASSEMBLY__ */

#define PMD_SIZE (_AC(1,UL) << PMD_SHIFT)
Expand Down

0 comments on commit 71dc393

Please sign in to comment.