svn commit: r209001 - stable/7/sys/dev/acpica

John Baldwin jhb at FreeBSD.org
Thu Jun 10 20:02:13 UTC 2010


Author: jhb
Date: Thu Jun 10 20:02:13 2010
New Revision: 209001
URL: http://svn.freebsd.org/changeset/base/209001

Log:
  MFC 208925:
  The lock associated with the /dev/apm knote is already held, so use
  KNOTE_LOCKED() instead of KNOTE_UNLOCKED().

Modified:
  stable/7/sys/dev/acpica/acpi.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/dev/acpica/acpi.c
==============================================================================
--- stable/7/sys/dev/acpica/acpi.c	Thu Jun 10 20:01:33 2010	(r209000)
+++ stable/7/sys/dev/acpica/acpi.c	Thu Jun 10 20:02:13 2010	(r209001)
@@ -2258,7 +2258,7 @@ acpi_ReqSleepState(struct acpi_softc *sc
 	clone->notify_status = APM_EV_NONE;
 	if ((clone->flags & ACPI_EVF_DEVD) == 0) {
 	    selwakeuppri(&clone->sel_read, PZERO);
-	    KNOTE_UNLOCKED(&clone->sel_read.si_note, 0);
+	    KNOTE_LOCKED(&clone->sel_read.si_note, 0);
 	}
     }
 


More information about the svn-src-stable-7 mailing list