From: kettenis Date: Thu, 10 Nov 2022 11:23:21 +0000 (+0000) Subject: arm64 can suspend without PSCI support now X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=586aa7df8a3627fd2a49d5a557334dadf171c9ac;p=openbsd arm64 can suspend without PSCI support now ok deraadt@, phessler@ --- diff --git a/sys/arch/arm64/dev/apm.c b/sys/arch/arm64/dev/apm.c index bc428838789..2c88cd4d6dd 100644 --- a/sys/arch/arm64/dev/apm.c +++ b/sys/arch/arm64/dev/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.17 2022/07/13 09:28:18 kettenis Exp $ */ +/* $OpenBSD: apm.c,v 1.18 2022/11/10 11:23:21 kettenis Exp $ */ /*- * Copyright (c) 2001 Alexander Guy. All rights reserved. @@ -388,10 +388,8 @@ resume_mp(void) int sleep_showstate(void *v, int sleepmode) { -#if NPSCI > 0 - if (sleepmode == SLEEP_SUSPEND && psci_can_suspend()) + if (sleepmode == SLEEP_SUSPEND) return 0; -#endif return EOPNOTSUPP; }