summaryrefslogtreecommitdiff
path: root/sys/dev/ic/sti.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-12-08 02:24:08 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-12-08 02:24:08 +0000
commit9d60d5abd9786f2184ff5714f221264c291225aa (patch)
tree71197001dc10102fc702df7ebc630748f8f40d9e /sys/dev/ic/sti.c
parent76e77305cc16957c8ab6b04545a4d21c35a51adb (diff)
Sprinkle pmap_update calls where relevant and some other
misc pmap usage fixes.
Diffstat (limited to 'sys/dev/ic/sti.c')
-rw-r--r--sys/dev/ic/sti.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/sti.c b/sys/dev/ic/sti.c
index b61698dd089..45a9925ade4 100644
--- a/sys/dev/ic/sti.c
+++ b/sys/dev/ic/sti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sti.c,v 1.8 2001/12/02 04:29:11 mickey Exp $ */
+/* $OpenBSD: sti.c,v 1.9 2001/12/08 02:24:07 art Exp $ */
/*
* Copyright (c) 2000-2001 Michael Shalayeff
@@ -253,6 +253,7 @@ sti_attach_common(sc)
pmap_protect(pmap_kernel(), sc->sc_code,
sc->sc_code + round_page(size), VM_PROT_READ|VM_PROT_EXECUTE);
+ pmap_update(pmap_kernel());
cc = &sc->sc_cfg;
bzero(cc, sizeof (*cc));