diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-11 20:10:01 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-11 20:10:01 +0000 |
commit | 9ebb0e3095bfc9a4093b4d29698a56e2a6b8cbeb (patch) | |
tree | 37691a63859e39b99f387a501349ebbb5760e3da /sys/arch/macppc | |
parent | 650cf27b4440ede3599ffc101d32dcc91e46bb9a (diff) |
Fix uvm_km_suballoc() usage flags. ok art@ millert@
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r-- | sys/arch/macppc/macppc/machdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c index 1680fb47b59..8ca46a239c3 100644 --- a/sys/arch/macppc/macppc/machdep.c +++ b/sys/arch/macppc/macppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.1 2001/09/01 15:44:20 drahn Exp $ */ +/* $OpenBSD: machdep.c,v 1.2 2001/09/11 20:10:00 miod Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -569,17 +569,17 @@ cpu_startup() * limits the number of processes exec'ing at any time. */ exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr, 16 * NCARGS, - TRUE, FALSE, NULL); + VM_MAP_PAGEABLE, FALSE, NULL); /* * Allocate a submap for physio */ phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr, - VM_PHYS_SIZE, TRUE, FALSE, NULL); + VM_PHYS_SIZE, 0, FALSE, NULL); ppc_malloc_ok = 1; mb_map = uvm_km_suballoc(kernel_map, (vm_offset_t *)&mbutl, &maxaddr, - VM_MBUF_SIZE, FALSE, FALSE, NULL); + VM_MBUF_SIZE, VM_MAP_INTRSAFE, FALSE, NULL); printf("avail mem = %d\n", ptoa(uvmexp.free)); printf("using %d buffers containing %d bytes of memory\n", nbuf, |