diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-06-22 17:44:00 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-06-22 17:44:00 +0000 |
commit | 2ed72fc6e38aac946fc8f0d4838af670f39ce233 (patch) | |
tree | b0c83c0a80e034dcf2563b14b10d4818231f578e | |
parent | 3bf6376a8235779418ca7ff352723e7ad8c68372 (diff) |
Don't play with cacheability in vmapbuf() - pmap_enter() knows what it does.
This is a leftover from a very old workaround for a very old and long gone
pmap_enter() bug.
-rw-r--r-- | sys/arch/m88k/m88k/vm_machdep.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/m88k/m88k/vm_machdep.c b/sys/arch/m88k/m88k/vm_machdep.c index 27f24bebf32..a9066851da4 100644 --- a/sys/arch/m88k/m88k/vm_machdep.c +++ b/sys/arch/m88k/m88k/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.20 2007/11/24 11:13:56 miod Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.21 2010/06/22 17:43:59 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. @@ -211,14 +211,6 @@ vmapbuf(bp, len) addr += PAGE_SIZE; kva += PAGE_SIZE; } - - /* make sure snooping will be possible... */ -#if !defined(MULTIPROCESSOR) && defined(M88110) - if (CPU_IS88110) - pmap_cache_ctrl(pmap_kernel(), ova, ova + len, 0); - else -#endif - pmap_cache_ctrl(pmap_kernel(), ova, ova + len, CACHE_GLOBAL); pmap_update(pmap_kernel()); } |