artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d04ab4
)
add MP stubs
author
deraadt
<deraadt@openbsd.org>
Sat, 12 Feb 2022 16:22:40 +0000
(16:22 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 12 Feb 2022 16:22:40 +0000
(16:22 +0000)
sys/arch/macppc/dev/apm.c
patch
|
blob
|
history
diff --git
a/sys/arch/macppc/dev/apm.c
b/sys/arch/macppc/dev/apm.c
index
8642cf4
..
9921dbd
100644
(file)
--- a/
sys/arch/macppc/dev/apm.c
+++ b/
sys/arch/macppc/dev/apm.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: apm.c,v 1.2
7 2022/02/12 16:22:03
deraadt Exp $ */
+/* $OpenBSD: apm.c,v 1.2
8 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)
{