summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1994-01-03 16:21:48 +0000
committermycroft <mycroft@NetBSD.org>1994-01-03 16:21:48 +0000
commitc0e772492e23ff30c5589871a03472faa486f9d1 (patch)
tree09f487d636b80602cde3e8e3c4532e2d4274a8a3 /sys/dev
parent7131e8517e04951d3325a19e34e7808aaad2a51b (diff)
Inline all the [lr]cr[023]() `functions' in cpufunc.h.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/wd.c4
-rw-r--r--sys/dev/isa/wd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index 5a4e070c10e..e5ae3fdad28 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.30 1993/12/24 13:56:14 ws Exp $
+ * $Id: wd.c,v 1.31 1994/01/03 16:22:18 mycroft Exp $
*/
/* Note: This code heavily modified by tih@barsoom.nhh.no; use at own risk! */
@@ -1518,7 +1518,7 @@ wddump(dev_t dev)
pmap_enter(kernel_pmap, CADDR1, trunc_page(addr), VM_PROT_READ, TRUE);
#else
*(int *)CMAP1 = PG_V | PG_KW | ctob((long)addr);
- load_cr3(rcr3());
+ tlbflush();
#endif
/* compute disk address */
diff --git a/sys/dev/isa/wd.c b/sys/dev/isa/wd.c
index 5a4e070c10e..e5ae3fdad28 100644
--- a/sys/dev/isa/wd.c
+++ b/sys/dev/isa/wd.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.30 1993/12/24 13:56:14 ws Exp $
+ * $Id: wd.c,v 1.31 1994/01/03 16:22:18 mycroft Exp $
*/
/* Note: This code heavily modified by tih@barsoom.nhh.no; use at own risk! */
@@ -1518,7 +1518,7 @@ wddump(dev_t dev)
pmap_enter(kernel_pmap, CADDR1, trunc_page(addr), VM_PROT_READ, TRUE);
#else
*(int *)CMAP1 = PG_V | PG_KW | ctob((long)addr);
- load_cr3(rcr3());
+ tlbflush();
#endif
/* compute disk address */