cvs commit: src/sys/dev/acpica acpi.c
Nate Lawson
njl at FreeBSD.org
Sat Dec 4 17:35:19 PST 2004
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
More information about the cvs-all
mailing list