diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-03-13 19:30:44 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-03-13 19:30:44 +0000 |
commit | 2e9701d786b0feb386439b8a04e44027b807356d (patch) | |
tree | ae555a48f43d04e584cfd2b5b953837da9029dd8 | |
parent | 86d29e393d088309c412e88b3a2670571d0ec4cb (diff) |
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.
-rw-r--r-- | include/asm-mips64/pgtable.h | 10 |
1 files 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 | \ |