Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2012 21:47:50 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233208 - head/sys/amd64/acpica
Message-ID:  <201203192147.q2JLloX8087758@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Mon Mar 19 21:47:50 2012
New Revision: 233208
URL: http://svn.freebsd.org/changeset/base/233208

Log:
  Fix a witness panic introduced in r231797.
  
  Reported by:	bschmidt
  Reviewed by:	jhb
  Pointy hat to:	jkim
  MFC after:	3 days

Modified:
  head/sys/amd64/acpica/acpi_wakeup.c

Modified: head/sys/amd64/acpica/acpi_wakeup.c
==============================================================================
--- head/sys/amd64/acpica/acpi_wakeup.c	Mon Mar 19 21:34:11 2012	(r233207)
+++ head/sys/amd64/acpica/acpi_wakeup.c	Mon Mar 19 21:47:50 2012	(r233208)
@@ -241,8 +241,8 @@ acpi_sleep_machdep(struct acpi_softc *sc
 
 	AcpiSetFirmwareWakingVector(WAKECODE_PADDR(sc));
 
-	spinlock_enter();
 	intr_suspend();
+	spinlock_enter();
 
 	if (savectx(susppcbs[0])) {
 		ctx_fpusave(suspfpusave[0]);
@@ -299,8 +299,8 @@ out:
 #endif
 
 	mca_resume();
-	intr_resume();
 	spinlock_exit();
+	intr_resume();
 
 	AcpiSetFirmwareWakingVector(0);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203192147.q2JLloX8087758>