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/page.h b/arch/sh/include/asm/page.h index 77fb8bf..5871d78 100644 --- a/arch/sh/include/asm/page.h +++ b/arch/sh/include/asm/page.h
@@ -104,6 +104,8 @@ typedef struct page *pgtable_t; +#define pte_pgprot(x) __pgprot(pte_val(x) & PTE_FLAGS_MASK) + #endif /* !__ASSEMBLY__ */ /*