summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/luna88k/luna88k/machdep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c
index fbac67c917d..6785ba5a810 100644
--- a/sys/arch/luna88k/luna88k/machdep.c
+++ b/sys/arch/luna88k/luna88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.128 2019/04/01 07:00:52 tedu Exp $ */
+/* $OpenBSD: machdep.c,v 1.129 2019/12/31 10:07:31 mpi Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -93,7 +93,7 @@
#include <dev/cons.h>
#include <net/if.h>
-#include <uvm/uvm.h>
+#include <uvm/uvm_extern.h>
#include "ksyms.h"
#if DDB
@@ -650,7 +650,8 @@ cpu_setup_secondary_processors()
* so that we can still run in degraded mode if hell gets loose.
*/
for (cpu = 0; cpu < hatch_pending_count; cpu++)
- hatch_stacks[cpu] = uvm_km_zalloc(kernel_map, USPACE);
+ hatch_stacks[cpu] = (vaddr_t)km_alloc(USPACE, &kv_any,
+ &kp_zero, &kd_waitok);
#endif
__cpu_simple_unlock(&cpu_hatch_mutex);