Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94027
b: refs/heads/master
c: a08cb62
h: refs/heads/master
i:
  94025: 439c246
  94023: 444c9f2
v: v3
  • Loading branch information
Nick Piggin authored and Linus Torvalds committed Apr 28, 2008
1 parent c67b9f5 commit 6cc2ad3
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: 70688e4dd1647f0ceb502bbd5964fa344c5eb411
refs/heads/master: a08cb629f546d1cecebe955392197f226e58dbe1
5 changes: 4 additions & 1 deletion trunk/include/asm-s390/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ extern char empty_zero_page[PAGE_SIZE];
/* Software bits in the page table entry */
#define _PAGE_SWT 0x001 /* SW pte type bit t */
#define _PAGE_SWX 0x002 /* SW pte type bit x */
#define _PAGE_SPECIAL 0x004 /* SW associated with special page */
#define __HAVE_ARCH_PTE_SPECIAL

/* Six different types of pages. */
#define _PAGE_TYPE_EMPTY 0x400
Expand Down Expand Up @@ -520,7 +522,7 @@ static inline int pte_file(pte_t pte)

static inline int pte_special(pte_t pte)
{
return 0;
return (pte_val(pte) & _PAGE_SPECIAL);
}

#define __HAVE_ARCH_PTE_SAME
Expand Down Expand Up @@ -722,6 +724,7 @@ static inline pte_t pte_mkyoung(pte_t pte)

static inline pte_t pte_mkspecial(pte_t pte)
{
pte_val(pte) |= _PAGE_SPECIAL;
return pte;
}

Expand Down

0 comments on commit 6cc2ad3

Please sign in to comment.