summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-02-13 23:29:39 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-02-13 23:29:39 +0000
commitf5af53d910fe9c1c8328f1d5eea6868976f29e41 (patch)
tree533ce4fce80396ad96b40e1ce71bd06cbbf92a8e /sys/arch
parent00bb1bc3aac8aab9b30a7ee56bcd58538bfa2cf7 (diff)
Allow IPIs on the secondary processors later in the bootstrap process, when
we are sure the NMI stack exists.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvme88k/mvme88k/m88110.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/mvme88k/mvme88k/m88110.c b/sys/arch/mvme88k/mvme88k/m88110.c
index b0235367590..a01e2a24f95 100644
--- a/sys/arch/mvme88k/mvme88k/m88110.c
+++ b/sys/arch/mvme88k/mvme88k/m88110.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m88110.c,v 1.60 2009/02/01 00:52:19 miod Exp $ */
+/* $OpenBSD: m88110.c,v 1.61 2009/02/13 23:29:38 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* All rights reserved.
@@ -221,6 +221,13 @@ m88410_cpu_configuration_print(int master)
m88110_cpu_configuration_print(master);
/* XXX how to get its size? */
printf("cpu%d: external M88410 cache controller\n", cpu_number());
+
+#ifdef MULTIPROCESSOR
+ /*
+ * Mark us as allowing IPIs now.
+ */
+ *(volatile u_int8_t *)(BS_BASE + BS_CPINT) = BS_CPI_ICLR | BS_CPI_IEN;
+#endif
}
/*
@@ -378,13 +385,6 @@ m88410_initialize_cpu(cpuid_t cpu)
mc88410_inval();
#endif
CMMU_UNLOCK;
-
-#ifdef MULTIPROCESSOR
- /*
- * Mark us as allowing IPIs now.
- */
- *(volatile u_int8_t *)(BS_BASE + BS_CPINT) = BS_CPI_ICLR | BS_CPI_IEN;
-#endif
}
/*