diff options
-rw-r--r-- | include/asm-sparc64/pgtable.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sparc64/pgtable.h b/include/asm-sparc64/pgtable.h index af9bf175a223..ae2cd5b09a7c 100644 --- a/include/asm-sparc64/pgtable.h +++ b/include/asm-sparc64/pgtable.h | |||
@@ -416,6 +416,11 @@ extern int io_remap_pfn_range(struct vm_area_struct *vma, unsigned long from, | |||
416 | unsigned long pfn, | 416 | unsigned long pfn, |
417 | unsigned long size, pgprot_t prot); | 417 | unsigned long size, pgprot_t prot); |
418 | 418 | ||
419 | /* Clear virtual and physical cachability, set side-effect bit. */ | ||
420 | #define pgprot_noncached(prot) \ | ||
421 | (__pgprot((pgprot_val(prot) & ~(_PAGE_CP | _PAGE_CV)) | \ | ||
422 | _PAGE_E)) | ||
423 | |||
419 | /* | 424 | /* |
420 | * For sparc32&64, the pfn in io_remap_pfn_range() carries <iospace> in | 425 | * For sparc32&64, the pfn in io_remap_pfn_range() carries <iospace> in |
421 | * its high 4 bits. These macros/functions put it there or get it from there. | 426 | * its high 4 bits. These macros/functions put it there or get it from there. |