artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ea789
)
arm64 can suspend without PSCI support now
author
kettenis
<kettenis@openbsd.org>
Thu, 10 Nov 2022 11:23:21 +0000
(11:23 +0000)
committer
kettenis
<kettenis@openbsd.org>
Thu, 10 Nov 2022 11:23:21 +0000
(11:23 +0000)
ok deraadt@, phessler@
sys/arch/arm64/dev/apm.c
patch
|
blob
|
history
diff --git
a/sys/arch/arm64/dev/apm.c
b/sys/arch/arm64/dev/apm.c
index
bc42883
..
2c88cd4
100644
(file)
--- a/
sys/arch/arm64/dev/apm.c
+++ b/
sys/arch/arm64/dev/apm.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: apm.c,v 1.1
7 2022/07/13 09:28:18
kettenis Exp $ */
+/* $OpenBSD: apm.c,v 1.1
8 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;
}