diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1998-09-16 21:37:38 +0000 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1998-09-16 21:37:38 +0000 |
commit | e7a164b40732fc218a55b2fe709f9969c454b2c4 (patch) | |
tree | bc5b21a106bf937647c92c2851768da849547ad6 /include/asm-mips | |
parent | 4e70b567ee576112d83553ac96a5c086067c7167 (diff) |
fix for Eleectric Fence; mprotect(PROT_NONE) on a already read/write mapped
region didn't work
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/pgtable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/pgtable.h b/include/asm-mips/pgtable.h index 1005aa6fb..3cc620222 100644 --- a/include/asm-mips/pgtable.h +++ b/include/asm-mips/pgtable.h @@ -1,4 +1,4 @@ -/* $Id: pgtable.h,v 1.15 1998/08/25 09:21:59 ralf Exp $ +/* $Id: pgtable.h,v 1.16 1998/08/28 23:24:03 tsbogend Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -129,7 +129,7 @@ extern void (*add_wired_entry)(unsigned long entrylo0, unsigned long entrylo1, #define __READABLE (_PAGE_READ | _PAGE_SILENT_READ | _PAGE_ACCESSED) #define __WRITEABLE (_PAGE_WRITE | _PAGE_SILENT_WRITE | _PAGE_MODIFIED) -#define _PAGE_CHG_MASK (PAGE_MASK | __READABLE | __WRITEABLE | _CACHE_MASK) +#define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED | _CACHE_MASK) #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT) #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ |