summaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-06-24 20:00:52 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-06-24 20:00:52 +0000
commit950c5f56df26394dc3b1ddffa129ba5c431e622a (patch)
tree9cb74929d472fee66c13b7b7c8efd13a38aa9828 /sys/vm
parentdcbbf51b5ca3f8d9cf07dc1df73adf639aa0d3c6 (diff)
arc and pica needs special alignment
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_glue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 51c79121296..45f49d1987c 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_glue.c,v 1.17 1996/06/20 10:51:08 deraadt Exp $ */
+/* $OpenBSD: vm_glue.c,v 1.18 1996/06/24 20:00:51 pefo Exp $ */
/* $NetBSD: vm_glue.c,v 1.55.4.1 1996/06/13 17:25:45 cgd Exp $ */
/*
@@ -232,7 +232,7 @@ vm_fork(p1, p2)
/*
* Allocate a wired-down (for now) pcb and kernel stack for the process
*/
-#ifdef pica
+#if defined(arc) || defined(pica)
addr = kmem_alloc_upage(kernel_map, USPACE);
#else
addr = kmem_alloc_pageable(kernel_map, USPACE);
@@ -415,7 +415,7 @@ loop:
p->p_pid, p->p_comm, p->p_addr,
ppri, cnt.v_free_count);
#endif
-#ifdef pica
+#if defined(arc) || defined(pica)
vm_map_pageable(kernel_map, (vm_offset_t)p->p_addr,
(vm_offset_t)p->p_addr + atop(USPACE), FALSE);
#endif