summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-05-03 21:03:07 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-05-03 21:03:07 +0000
commitc3973be796a91a91dd197a32b44a2ac6e32901a4 (patch)
tree822a546615161c7701a00c155c7c143a1d6648de
parent49ba31ab551198f777502220e9f47db815c78e97 (diff)
Add dummy functions to make MULTIPROCESSOR kernels compile.
-rw-r--r--sys/arch/macppc/macppc/cpu.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/cpu.c b/sys/arch/macppc/macppc/cpu.c
index c338dfee313..d847f2d1e4f 100644
--- a/sys/arch/macppc/macppc/cpu.c
+++ b/sys/arch/macppc/macppc/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.40 2007/03/31 09:44:21 kettenis Exp $ */
+/* $OpenBSD: cpu.c,v 1.41 2007/05/03 21:03:06 kettenis Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -532,3 +532,22 @@ config_l2cr(int cpu)
} else
printf(": L2 cache not enabled");
}
+
+#ifdef MULTIPROCESSOR
+
+void cpu_hatch(void);
+void cpu_spinup_trampoline(void);
+
+volatile int cpu_hatch_stack;
+
+void
+cpu_boot_secondary_processors(void)
+{
+}
+
+void
+cpu_hatch(void)
+{
+}
+
+#endif