Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83177
b: refs/heads/master
c: 300ecf5
h: refs/heads/master
i:
  83175: cb19e7e
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 5, 2008
1 parent 3170283 commit 64b5f74
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d83ecf083a2163705f5ebcede4637a955eb7b964
refs/heads/master: 300ecf59c0ca2c09fb7fde7dff986a7306e95361
2 changes: 2 additions & 0 deletions trunk/include/asm-um/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#define __UM_PGTABLE_H

#include "linux/sched.h"
#include <asm/fixmap.h>

#define _PAGE_PRESENT 0x001
#define _PAGE_NEWPAGE 0x002
Expand Down Expand Up @@ -308,6 +309,7 @@ static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
* this macro returns the index of the entry in the pmd page which would
* control the given virtual address
*/
#define pmd_page_vaddr(pmd) ((unsigned long) __va(pmd_val(pmd) & PAGE_MASK))
#define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))

/*
Expand Down

0 comments on commit 64b5f74

Please sign in to comment.