summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-02-12 16:22:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-02-12 16:22:41 +0000
commit219946434500c499ad1a0d08dd0a18373bf1f8f3 (patch)
tree5584ddaa898411f6fb5e88f1aeb3fcbb13c67e89 /sys/arch
parentf44f0afae77dc6637057b015bb54c87e17cb3978 (diff)
add MP stubs
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/dev/apm.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/apm.c b/sys/arch/macppc/dev/apm.c
index 8642cf49896..9921dbda41e 100644
--- a/sys/arch/macppc/dev/apm.c
+++ b/sys/arch/macppc/dev/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.27 2022/02/12 16:22:03 deraadt Exp $ */
+/* $OpenBSD: apm.c,v 1.28 2022/02/12 16:22:40 deraadt Exp $ */
/*-
* Copyright (c) 2001 Alexander Guy. All rights reserved.
@@ -335,6 +335,21 @@ apmkqfilter(dev_t dev, struct knote *kn)
}
#ifdef SUSPEND
+
+#ifdef MULTIPROCESSOR
+
+void
+sleep_mp(void)
+{
+}
+
+void
+resume_mp(void)
+{
+}
+
+#endif /* MULTIPROCESSOR */
+
int
sleep_showstate(void *v, int sleepmode)
{