Date: Sun, 5 Dec 2004 01:35:18 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi.c Message-ID: <200412050135.iB51ZJJl040909@repoman.freebsd.org>
index | next in thread | raw e-mail
njl 2004-12-05 01:35:18 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi.c
Log:
Grab Giant around calls to DEVICE_SUSPEND/RESUME in acpi_SetSleepState().
If we are resuming non-MPSAFE drivers, they need Giant held for them.
This may fix some obscure suspend/resume problems. It has fixed keyrate
setting problems that were triggered by cardbus (MPSAFE) changing the
ordering for syscons resume (non-MPSAFE). Also, add some asserts that
Giant is held in our suspend/resume and shutdown methods.
Found by: iedowse
MFC after: 2 days
Revision Changes Path
1.196 +12 -0 src/sys/dev/acpica/acpi.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412050135.iB51ZJJl040909>
