From 2e9701d786b0feb386439b8a04e44027b807356d Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Mon, 13 Mar 2000 19:30:44 +0000 Subject: Move from using cacheable noncoherent mappings to cacheable coherent exclusive on write mappings. This is needed for SMP anyway, and seems to prevent the random data bus errors that we have been seeing. --- include/asm-mips64/pgtable.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/asm-mips64/pgtable.h b/include/asm-mips64/pgtable.h index 87b06e444..aa202b763 100644 --- a/include/asm-mips64/pgtable.h +++ b/include/asm-mips64/pgtable.h @@ -124,15 +124,15 @@ extern void (*_flush_page_to_ram)(struct page * page); #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _CACHE_MASK) -#define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT) +#define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_COW) #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ - _CACHE_CACHABLE_NONCOHERENT) + _CACHE_CACHABLE_COW) #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | \ - _CACHE_CACHABLE_NONCOHERENT) + _CACHE_CACHABLE_COW) #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | \ - _CACHE_CACHABLE_NONCOHERENT) + _CACHE_CACHABLE_COW) #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ - _CACHE_CACHABLE_NONCOHERENT) + _CACHE_CACHABLE_COW) #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ _CACHE_UNCACHED) #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ -- cgit v1.2.3