summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-09-27 19:16:11 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-09-27 19:16:11 +0000
commit68b5ebf753017754f11310b52e4d365bb84b575e (patch)
treeccf1c7b853990799097ed6f058cd2a6408ca383f /sys/arch
parent147cf0806dc55cff490fd26f81be628c40501a1e (diff)
In pmap_proc_iflush(), do not bother checking for pmap being curpmap on any
processor, since caches are physically addressed and we are working on physical addresses.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/m88k/m88k/pmap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/m88k/m88k/pmap.c b/sys/arch/m88k/m88k/pmap.c
index 130f2f146fe..4a90268a8d4 100644
--- a/sys/arch/m88k/m88k/pmap.c
+++ b/sys/arch/m88k/m88k/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.48 2009/05/02 14:32:29 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.49 2009/09/27 19:16:10 miod Exp $ */
/*
* Copyright (c) 2001-2004, Miodrag Vallat
* Copyright (c) 1998-2001 Steve Murphree, Jr.
@@ -2593,9 +2593,7 @@ pmap_proc_iflush(struct proc *p, vaddr_t va, vsize_t len)
ci = curcpu();
#endif
/* CPU_INFO_FOREACH(cpu, ci) */ {
- if (ci->ci_curpmap == pmap)
- cmmu_flush_inst_cache(ci->ci_cpuid,
- pa, count);
+ cmmu_flush_inst_cache(ci->ci_cpuid, pa, count);
}
}
va += count;