summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-06-22 17:43:59 +0000
committermiod <miod@openbsd.org>2010-06-22 17:43:59 +0000
commitfa9337303be9515d8f42c17c6de09676162384f7 (patch)
treebbb8dc731e6c94bed2023b515089a074b281bf1b /sys
parentSince our caches are snooping, we only need to broadcast cache invalidates (diff)
downloadwireguard-openbsd-fa9337303be9515d8f42c17c6de09676162384f7.tar.xz
wireguard-openbsd-fa9337303be9515d8f42c17c6de09676162384f7.zip
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/m88k/m88k/vm_machdep.c10
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());
}