summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-09-25 20:55:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-09-25 20:55:16 +0000
commit32d39117d55efd5f59740cb603ac1cb5972966f7 (patch)
treeeedd41fc6df8de2b013aa528ae5a49920d201c7f /sys/arch/mvme88k/dev
parent56105db4443c9fe5708cf92279632c9410d5ba0a (diff)
Change the size parameter of cmmu_flush_tlb() from bytes to pages. This makes
things easier for the callers, and allows us to inline the "fewer than 4 pages" situation for speed.
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r--sys/arch/mvme88k/dev/mainbus.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/dev/mainbus.c b/sys/arch/mvme88k/dev/mainbus.c
index bc82805a4ce..045afcd841f 100644
--- a/sys/arch/mvme88k/dev/mainbus.c
+++ b/sys/arch/mvme88k/dev/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.14 2004/11/09 15:02:23 miod Exp $ */
+/* $OpenBSD: mainbus.c,v 1.15 2005/09/25 20:55:15 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 2004, Miodrag Vallat.
@@ -175,8 +175,6 @@ mapiodev(pa, size)
if (error != 0)
return NULL;
- cmmu_flush_tlb(cpu_number(), 1, iova, size); /* necessary? */
-
tva = iova;
while (size != 0) {
pmap_enter(vm_map_pmap(iomap_map), tva, ppa,