Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85546
b: refs/heads/master
c: 5e9c8ac
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Feb 14, 2008
1 parent fbe3ce7 commit 6d898b4
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 5286031693d14ae20ce4298d002eddc2044e19a4
refs/heads/master: 5e9c8ac5699f2a830fab2c224b6f57bd7da338b8
5 changes: 5 additions & 0 deletions trunk/include/asm-sh/pgtable_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ static __inline__ void pmd_set(pmd_t *pmdp,pte_t *ptep)
_PAGE_WRITE | _PAGE_EXECUTE)
#define PAGE_KERNEL __pgprot(_KERNPG_TABLE)

#define PAGE_KERNEL_NOCACHE \
__pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
_PAGE_EXECUTE | _PAGE_ACCESSED | \
_PAGE_DIRTY | _PAGE_SHARED)

/* Make it a device mapping for maximum safety (e.g. for mapping device
registers into user-space via /dev/map). */
#define pgprot_noncached(x) __pgprot(((x).pgprot & ~(_PAGE_CACHABLE)) | _PAGE_DEVICE)
Expand Down

0 comments on commit 6d898b4

Please sign in to comment.