diff options
author | mav <mav@FreeBSD.org> | 2009-02-16 22:25:39 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-02-16 22:25:39 +0000 |
commit | 84129dcd679010e0fb0fd0290f0b46a2d74f5aee (patch) | |
tree | 11d147d5a54a42d3331c425da2d8ccd732793ec6 /sys/dev/ata | |
parent | 84a38d39499bdf1855d0d40fd1d1d47d397a8ee3 (diff) | |
download | FreeBSD-src-84129dcd679010e0fb0fd0290f0b46a2d74f5aee.zip FreeBSD-src-84129dcd679010e0fb0fd0290f0b46a2d74f5aee.tar.gz |
Make core dumping to ad not to freeze even if interrupts, not disabled
for some reason, stealing our events.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c index 7085460..9a0d0a8 100644 --- a/sys/dev/ata/ata-queue.c +++ b/sys/dev/ata/ata-queue.c @@ -214,7 +214,7 @@ ata_start(device_t dev) if (dumping) { mtx_unlock(&ch->state_mtx); mtx_unlock(&ch->queue_mtx); - while (!ata_interrupt(ch)) + while (!ata_interrupt(ch) && ch->running) DELAY(10); return; } |