diff options
author | Grant Grundler <grundler@parisc-linux.org> | 2005-10-22 02:54:20 (GMT) |
---|---|---|
committer | Kyle McMartin <kyle@parisc-linux.org> | 2005-10-22 02:54:20 (GMT) |
commit | 63af965d2bc8d8c5d4c5949b8d3dbdc3c7b7d97a (patch) | |
tree | 997f10729a93f9058e999dffc88882c4d54f8351 | |
parent | b4b45313e58bf25886072a4ab111fac553747802 (diff) | |
download | linux-fsl-qoriq-63af965d2bc8d8c5d4c5949b8d3dbdc3c7b7d97a.tar.xz |
[PARISC] Define pgprot_noncached macro in pgtable.h
drivers/infiniband depends on definition of pgprot_noncached() macro.
Someone else will have to fix it's wrong.
Signed-off-by: Grant Grundler <grundler@parisc-linux.org
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r-- | include/asm-parisc/pgtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-parisc/pgtable.h b/include/asm-parisc/pgtable.h index 820c6e7..c28fb6f 100644 --- a/include/asm-parisc/pgtable.h +++ b/include/asm-parisc/pgtable.h @@ -501,6 +501,8 @@ static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ remap_pfn_range(vma, vaddr, pfn, size, prot) +#define pgprot_noncached(prot) __pgprot(pgprot_val(prot) | _PAGE_NO_CACHE) + #define MK_IOSPACE_PFN(space, pfn) (pfn) #define GET_IOSPACE(pfn) 0 #define GET_PFN(pfn) (pfn) |