diff options
author | njl <njl@FreeBSD.org> | 2004-12-05 01:35:18 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-12-05 01:35:18 +0000 |
commit | c3df9439cf95707e0fcee82a041a8a8b95e49852 (patch) | |
tree | 7dc53df8387383414df966bdf53c8e61cf209a34 /gnu/usr.bin/gdb | |
parent | cb6038510d6921529286c76b1f0a9c1aa356029a (diff) | |
download | FreeBSD-src-c3df9439cf95707e0fcee82a041a8a8b95e49852.zip FreeBSD-src-c3df9439cf95707e0fcee82a041a8a8b95e49852.tar.gz |
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
Diffstat (limited to 'gnu/usr.bin/gdb')
0 files changed, 0 insertions, 0 deletions