X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fxtensa%2Finclude%2Fasm%2Fpgtable.h;h=0383aed5912111b6a0b2cd4d0c58f758a95b4a7e;hb=15db0c8d79b353e4a5b62aef6863ffac4b36cf8d;hp=b2173e5da601cbe57303f9060faacb0dde0310cf;hpb=14d4cc08832efb724e58944ba2ac22e2ca3143dc;p=cascardo%2Flinux.git diff --git a/arch/xtensa/include/asm/pgtable.h b/arch/xtensa/include/asm/pgtable.h index b2173e5da601..0383aed59121 100644 --- a/arch/xtensa/include/asm/pgtable.h +++ b/arch/xtensa/include/asm/pgtable.h @@ -277,6 +277,8 @@ static inline pte_t pte_mkwrite(pte_t pte) static inline pte_t pte_mkspecial(pte_t pte) { return pte; } +#define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) & ~_PAGE_CA_MASK)) + /* * Conversion functions: convert a page and protection to a page entry, * and a page entry and page directory to the page they refer to.