summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/pgtable.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-12 15:41:05 +0400
committerPaul Mundt <lethal@linux-sh.org>2008-09-12 15:41:05 +0400
commitcb700aa4f13d38726defab3060d3ebeaf67dc189 (patch)
tree7d60e396368f649149d545a936e4ccebd83b8a0b /arch/sh/include/asm/pgtable.h
parent934135c19d8a1be435bae75aefc09b8ae1698b16 (diff)
downloadlinux-cb700aa4f13d38726defab3060d3ebeaf67dc189.tar.xz
sh: ioremap_prot support.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/pgtable.h')
-rw-r--r--arch/sh/include/asm/pgtable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/pgtable.h b/arch/sh/include/asm/pgtable.h
index a4a8f8b93463..52220d70a096 100644
--- a/arch/sh/include/asm/pgtable.h
+++ b/arch/sh/include/asm/pgtable.h
@@ -76,6 +76,7 @@ extern unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)];
#endif
#define PTE_PHYS_MASK (PHYS_ADDR_MASK & PAGE_MASK)
+#define PTE_FLAGS_MASK (~(PTE_PHYS_MASK) << PAGE_SHIFT)
#ifdef CONFIG_SUPERH32
#define VMALLOC_START (P3SEG)