summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-02-08 21:59:22 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-02-08 21:59:22 +0000
commite502584a597f55f57e566de0c18b97870c3523a2 (patch)
treecf77805bb938fc25bd1faed4077d03c39a05baab /sys
parent25431b25fbe3b25002c7ace44412fe3805186b0e (diff)
Oops, initialize the nmi stack correctly for the boot processor.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index b67950eef54..5e699cf7929 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.216 2009/02/08 21:40:58 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.217 2009/02/08 21:59:21 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -1006,8 +1006,8 @@ mvme_bootstrap()
#ifdef M88110
if (CPU_IS88110) {
- extern vaddr_t nmi_stack;
- curcpu()->ci_nmi_stack = nmi_stack;
+ extern caddr_t nmi_stack;
+ curcpu()->ci_nmi_stack = (vaddr_t)&nmi_stack;
}
#endif