commit | cb700aa4f13d38726defab3060d3ebeaf67dc189 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Fri Sep 12 20:41:05 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Fri Sep 12 20:41:05 2008 +0900 |
tree | 7d60e396368f649149d545a936e4ccebd83b8a0b | |
parent | 934135c19d8a1be435bae75aefc09b8ae1698b16 [diff] [blame] |
sh: ioremap_prot support. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/include/asm/pgtable.h b/arch/sh/include/asm/pgtable.h index a4a8f8b..52220d7 100644 --- a/arch/sh/include/asm/pgtable.h +++ b/arch/sh/include/asm/pgtable.h
@@ -76,6 +76,7 @@ #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)