summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-27 06:21:29 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-27 06:21:29 +0000
commit757e555ca51b3b4e503c0afaf8d45684550671e9 (patch)
tree17c9d72c51aee7f3e1b09d7950a9dda5f900fabe /sys
parent62749d5f2a0626865a03f6fd24aaae1fcb3539cd (diff)
mips_cachealias is no more
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_fork.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index dcd91722897..c194543523b 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_fork.c,v 1.40 2001/06/27 04:49:42 art Exp $ */
+/* $OpenBSD: kern_fork.c,v 1.41 2001/06/27 06:21:28 art Exp $ */
/* $NetBSD: kern_fork.c,v 1.29 1996/02/09 18:59:34 christos Exp $ */
/*
@@ -179,11 +179,7 @@ fork1(p1, exitsig, flags, stack, stacksize, retval)
/*
* Allocate a pcb and kernel stack for the process
*/
-#if defined(arc) || defined(mips_cachealias)
- uaddr = kmem_alloc_upage(kernel_map, USPACE);
-#else
uaddr = uvm_km_valloc(kernel_map, USPACE);
-#endif
if (uaddr == 0)
return ENOMEM;