summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-02-21 18:37:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-02-21 18:37:50 +0000
commite075faf7c1a9f5957b847d3d593556f95ce7264e (patch)
treed1926699111e1683de98fe5983db040b34f75583 /sys/arch/mvme88k/include
parentfaa75621447538e222604390362935041779baf0 (diff)
Move part of the mp lock logic into per-cpu callbacks; on MVME197DP we need
to disable NMI sources in addition to interrupt sources, and we can not use a quick sequence with shadowing frozen as done for atomic ops. This lets GENERIC.MP boot multiuser on MVME197DP boards, and is so far stable enough to be able to recompile a kernel from scratch (with make -j2).
Diffstat (limited to 'sys/arch/mvme88k/include')
-rw-r--r--sys/arch/mvme88k/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/include/cpu.h b/sys/arch/mvme88k/include/cpu.h
index c386d65e2de..a4e5de1a1f3 100644
--- a/sys/arch/mvme88k/include/cpu.h
+++ b/sys/arch/mvme88k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.41 2009/02/16 23:03:33 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.42 2009/02/21 18:37:48 miod Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* Copyright (c) 1992, 1993
@@ -57,6 +57,7 @@ extern void (*md_init_clocks)(void);
extern void (*md_send_ipi)(int, cpuid_t);
extern void (*md_delay)(int);
extern void (*md_soft_ipi)(void);
+extern void (*md_smp_setup)(struct cpu_info *);
struct intrhand {
SLIST_ENTRY(intrhand) ih_link;