Disable PTE_EXEC optimization until I figure out why it fails on 750 but

not 74xx.
This commit is contained in:
matt 2002-08-07 19:04:05 +00:00
parent fdcc8560e4
commit e66a17771e
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.53 2002/08/06 06:14:38 chs Exp $ */
/* $NetBSD: pmap.c,v 1.54 2002/08/07 19:04:05 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@ -1384,7 +1384,7 @@ pmap_enter(pmap_t pm, vaddr_t va, paddr_t pa, vm_prot_t prot, int flags)
* If this is a managed page, and it's the first reference to the
* page clear the execness of the page. Otherwise fetch the execness.
*/
#ifndef MULTIPROCESSOR
#if !defined(MULTIPROCESSOR) && 0 /* disable for now */
/* XXX more is needed for MP */
if (pg != NULL)
was_exec = pmap_attr_fetch(pg) & PTE_EXEC;