]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/include/asm/page.h
sh: ioremap_prot support.
[linux-2.6-omap-h63xx.git] / arch / sh / include / asm / page.h
index 77fb8bf02e4e846b8dfcb969cac079e3009e768a..5871d78e47e529208e28a523abb30fd2e075f429 100644 (file)
@@ -104,6 +104,8 @@ typedef struct { unsigned long pgd; } pgd_t;
 
 typedef struct page *pgtable_t;
 
+#define pte_pgprot(x) __pgprot(pte_val(x) & PTE_FLAGS_MASK)
+
 #endif /* !__ASSEMBLY__ */
 
 /*