Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98781
b: refs/heads/master
c: 90621ed
h: refs/heads/master
i:
  98779: 19ae1d2
v: v3
  • Loading branch information
Linus Torvalds committed Jul 8, 2008
1 parent 6139f4c commit e35e732
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: be305042b7a01a1ab03a8adfa95f57bc63e012e1
refs/heads/master: 90621ed829ac64eb25b4d1214e9a5155e5c67ff2
5 changes: 4 additions & 1 deletion trunk/include/asm-s390/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ extern char empty_zero_page[PAGE_SIZE];
#define _PAGE_SPECIAL 0x004 /* SW associated with special page */
#define __HAVE_ARCH_PTE_SPECIAL

/* Set of bits not changed in pte_modify */
#define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_SPECIAL)

/* Six different types of pages. */
#define _PAGE_TYPE_EMPTY 0x400
#define _PAGE_TYPE_NONE 0x401
Expand Down Expand Up @@ -681,7 +684,7 @@ static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *pt
*/
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
{
pte_val(pte) &= PAGE_MASK;
pte_val(pte) &= _PAGE_CHG_MASK;
pte_val(pte) |= pgprot_val(newprot);
return pte;
}
Expand Down

0 comments on commit e35e732

Please sign in to comment.