summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-10-27 20:32:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-10-27 20:32:21 +0000
commit39826bed35d5224e115fe5fafa745276767e86a3 (patch)
tree801998a1973f99d46a3c33e282c730e42b2af03d
parent3150b1780fa0e6bd22431a7da571a48c3ae51af3 (diff)
No need for an explicit pipeline synchronization in invalidate_pte(), the
xmem instruction does it for us.
-rw-r--r--sys/arch/m88k/include/mmu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/m88k/include/mmu.h b/sys/arch/m88k/include/mmu.h
index 338050a8f6a..ff0a2885653 100644
--- a/sys/arch/m88k/include/mmu.h
+++ b/sys/arch/m88k/include/mmu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mmu.h,v 1.8 2006/05/21 20:55:43 miod Exp $ */
+/* $OpenBSD: mmu.h,v 1.9 2007/10/27 20:32:20 miod Exp $ */
/*
* This file bears almost no resemblance to the original m68k file,
@@ -213,7 +213,6 @@ invalidate_pte(pt_entry_t *pte)
oldpte = PG_NV;
__asm__ __volatile__
("xmem %0, %2, r0" : "=r"(oldpte) : "0"(oldpte), "r"(pte));
- __asm__ __volatile__ ("tb1 0, r0, 0");
return oldpte;
}