diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-15 02:38:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-15 02:38:19 +0000 |
commit | d1fbae0933cba12c4c8d5c44ce5e368ca52bc838 (patch) | |
tree | da5e703aa38d1bf9bb8cb3f7dccba270982d01a1 /sys/kern | |
parent | 4c9416fe0b54a36c5e3c1d886f68701e9c0977a7 (diff) |
MI disable_lid_wakeups() is not needed, x86 systems can do this
in sleep_resume(), which seems sensible for other future systems also
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_suspend.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/subr_suspend.c b/sys/kern/subr_suspend.c index 03754b6e1c8..6c34b27df89 100644 --- a/sys/kern/subr_suspend.c +++ b/sys/kern/subr_suspend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_suspend.c,v 1.4 2022/02/13 15:56:55 deraadt Exp $ */ +/* $OpenBSD: subr_suspend.c,v 1.5 2022/02/15 02:38:18 deraadt Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -139,8 +139,6 @@ fail_suspend: intr_enable(); splx(s); - disable_lid_wakeups(v); - inittodr(gettime()); sleep_resume(v); |