diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/dev/if_ie.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 5 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/dvma.c | 4 |
3 files changed, 7 insertions, 6 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"); diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index fdc0c9b6ac0..1dfa5bb15cb 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.87 2002/11/07 04:39:14 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.88 2002/11/10 21:23:09 miod Exp $ */ /* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */ /* @@ -266,7 +266,8 @@ cpu_startup() */ dvma_base = CPU_ISSUN4M ? DVMA4M_BASE : DVMA_BASE; dvma_end = CPU_ISSUN4M ? DVMA4M_END : DVMA_END; - phys_map = uvm_map_create(pmap_kernel(), dvma_base, dvma_end, 1); + phys_map = uvm_map_create(pmap_kernel(), dvma_base, dvma_end, + VM_MAP_INTRSAFE); if (phys_map == NULL) panic("unable to create DVMA map"); /* diff --git a/sys/arch/sun3/sun3/dvma.c b/sys/arch/sun3/sun3/dvma.c index 4d1d5528ccc..b00a831e41f 100644 --- a/sys/arch/sun3/sun3/dvma.c +++ b/sys/arch/sun3/sun3/dvma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dvma.c,v 1.15 2002/01/17 01:10:11 miod Exp $ */ +/* $OpenBSD: dvma.c,v 1.16 2002/11/10 21:23:09 miod Exp $ */ /* $NetBSD: dvma.c,v 1.5 1996/11/20 18:57:29 gwr Exp $ */ /*- @@ -82,7 +82,7 @@ dvma_init() * remainder will be used as the DVMA page pool. */ phys_map = uvm_map_create(pmap_kernel(), - DVMA_SPACE_START, DVMA_SPACE_END, 1); + DVMA_SPACE_START, DVMA_SPACE_END, VM_MAP_INTRSAFE); if (phys_map == NULL) panic("unable to create DVMA map"); |