Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305309
b: refs/heads/master
c: f15b900
h: refs/heads/master
i:
  305307: 287a9db
v: v3
  • Loading branch information
Richard Weinberger committed May 21, 2012
1 parent d2daefd commit 9cd908b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 62179d47c2b1495bedc942b424e933a4b0f2ed51
refs/heads/master: f15b9000eb1d09bbaa4b0a6b2089d7e1f64e84b3
6 changes: 6 additions & 0 deletions trunk/arch/um/include/asm/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,12 @@ static inline void set_pte(pte_t *pteptr, pte_t pteval)
}
#define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)

#define __HAVE_ARCH_PTE_SAME
static inline int pte_same(pte_t pte_a, pte_t pte_b)
{
return !((pte_val(pte_a) ^ pte_val(pte_b)) & ~_PAGE_NEWPAGE);
}

/*
* Conversion functions: convert a page and protection to a page entry,
* and a page entry and page directory to the page they refer to.
Expand Down

0 comments on commit 9cd908b

Please sign in to comment.