summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1999-02-01 16:29:49 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1999-02-01 16:29:49 +0000
commitdfbc6436f54f13cdf0c8a4987a5b44a36dc791b0 (patch)
tree71be24c187c0b9a276d599e694ab8714ba499487
parent35bcaa473be49c8038aa2bc8de15d36eb76b20c4 (diff)
More general conditional for mips
-rw-r--r--sys/vm/vm_glue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 88c3322a6d7..a166f4fc06c 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_glue.c,v 1.29 1998/03/01 00:38:05 niklas Exp $ */
+/* $OpenBSD: vm_glue.c,v 1.30 1999/02/01 16:29:48 pefo Exp $ */
/* $NetBSD: vm_glue.c,v 1.55.4.1 1996/06/13 17:25:45 cgd Exp $ */
/*
@@ -236,7 +236,7 @@ vm_fork(p1, p2)
/*
* Allocate a wired-down (for now) pcb and kernel stack for the process
*/
-#if defined(arc) || defined(pica)
+#if defined(arc) || defined(mips_cachealias)
addr = kmem_alloc_upage(kernel_map, USPACE);
#else
addr = kmem_alloc_pageable(kernel_map, USPACE);