summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-11-10 21:23:10 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-11-10 21:23:10 +0000
commitb4f62b8d6d83c549a2d02fc25ea9774985a6b9ca (patch)
tree580123d9d2345a3298637a1ce2fc0fc82d40ab08 /sys/arch/sparc/dev
parentc517555770b7ed4645534243ad040834e8addd20 (diff)
Use appropriate VM_MAP constants rather than hardcoded values in
uvm_map_create() and uvm_km_suballoc().
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/if_ie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/if_ie.c b/sys/arch/sparc/dev/if_ie.c
index c510d08b17f..1f3830ec657 100644
--- a/sys/arch/sparc/dev/if_ie.c
+++ b/sys/arch/sparc/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.24 2002/04/30 01:12:29 art Exp $ */
+/* $OpenBSD: if_ie.c,v 1.25 2002/11/10 21:23:06 miod Exp $ */
/* $NetBSD: if_ie.c,v 1.33 1997/07/29 17:55:38 fair Exp $ */
/*-
@@ -536,7 +536,7 @@ ieattach(parent, self, aux)
*/
ie_map = uvm_map_create(pmap_kernel(), (vaddr_t)IEOB_ADBASE,
- (vaddr_t)IEOB_ADBASE + sc->sc_msize, 1);
+ (vaddr_t)IEOB_ADBASE + sc->sc_msize, VM_MAP_INTRSAFE);
if (ie_map == NULL) panic("ie_map");
sc->sc_maddr = (caddr_t) uvm_km_alloc(ie_map, sc->sc_msize);
if (sc->sc_maddr == NULL) panic("ie kmem_alloc");