From 2da6f5a37090c8ed9be33e74236ae08ed711919a Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 12 Feb 2022 16:22:40 +0000 Subject: [PATCH] add MP stubs --- sys/arch/macppc/dev/apm.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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) { -- 2.20.1