Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2004 18:03:45 -0700
From:      Nate Lawson <nate@root.org>
To:        =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk>
Cc:        current@freebsd.org
Subject:   Re: suspend/resume panic in ACPI..
Message-ID:  <4123FC71.8060308@root.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080609030808010903010205
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Try the attached patch.

-Nate

--------------080609030808010903010205
Content-Type: text/plain;
 name="sos.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="sos.diff"

Index: sys/i386/acpica/acpi_wakeup.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/acpica/acpi_wakeup.c,v
retrieving revision 1.37
diff -u -r1.37 acpi_wakeup.c
--- sys/i386/acpica/acpi_wakeup.c	5 Aug 2004 06:29:12 -0000	1.37
+++ sys/i386/acpica/acpi_wakeup.c	19 Aug 2004 01:01:40 -0000
@@ -189,7 +189,6 @@
 	AcpiSetFirmwareWakingVector(sc->acpi_wakephys);
 
 	ef = read_eflags();
-	ACPI_DISABLE_IRQS();
 
 	/* Create Identity Mapping */
 	if ((p = curproc) == NULL)
@@ -209,6 +208,7 @@
 	ret_addr = 0;
 	if (acpi_savecpu()) {
 		/* Execute Sleep */
+		ACPI_DISABLE_IRQS();
 		intr_suspend();
 
 		p_gdt = (struct region_descriptor *)

--------------080609030808010903010205--



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