From a41bd31e53cce764c5bc6861ce6be4074cc59551 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 6 Sep 2010 19:20:25 +0000 Subject: All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME} --- sys/kern/kern_subr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern') diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 5f7cfb6f0e6..71242e0d59b 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_subr.c,v 1.32 2008/06/12 16:15:49 marco Exp $ */ +/* $OpenBSD: kern_subr.c,v 1.33 2010/09/06 19:20:24 deraadt Exp $ */ /* $NetBSD: kern_subr.c,v 1.15 1996/04/09 17:21:56 ragge Exp $ */ /* @@ -307,7 +307,7 @@ dopowerhooks(int why) int s; s = splhigh(); - if (why == PWR_RESUME) { + if (why == DVACT_RESUME) { CIRCLEQ_FOREACH_REVERSE(dp, &powerhook_list, sfd_list) { (*dp->sfd_fn)(why, dp->sfd_arg); } -- cgit v1.2.3