Back out a change that wasn't supposed to be in here.

This commit is contained in:
thorpej 1998-02-03 19:16:04 +00:00
parent 0b7831a37b
commit b7b27cb6e4
1 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.278 1998/01/28 17:08:05 bouyer Exp $ */
/* $NetBSD: machdep.c,v 1.279 1998/02/03 19:16:04 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -2502,14 +2502,16 @@ _bus_dmamem_map(t, segs, nsegs, size, kvap, flags)
panic("_bus_dmamem_map: size botch");
pmap_enter(pmap_kernel(), va, addr,
VM_PROT_READ | VM_PROT_WRITE, TRUE);
if ((flags & BUS_DMAMEM_NOSYNC)
#ifdef I386_CPU
&& cpu_class != CPUCLASS_386
#endif
)
#if 0
/*
* This is not necessary on x86-family
* processors.
*/
if (flags & BUS_DMAMEM_NOSYNC)
pmap_changebit(addr, PG_N, ~0);
else
pmap_changebit(addr, 0, ~PG_N);
#endif
}
}