diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-03-21 16:06:53 +0000 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-21 21:21:32 -0500 |
commit | 23cfce8924f1e7ff1d14b8f1afd7550182026d16 (patch) | |
tree | ffee06bf9172f26a82c38e8ff4148f4547811b5d /drivers/scsi/libata-core.c | |
parent | 88f93a31dcd950fa6b27a5721428de7e01369c06 (diff) |
[PATCH] libata: make irqtrap mode compile
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r-- | drivers/scsi/libata-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index d6b8d8e6364..673ddf611d0 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c @@ -4340,9 +4340,9 @@ idle_irq: #ifdef ATA_IRQ_TRAP if ((ap->stats.idle_irq % 1000) == 0) { - handled = 1; ata_irq_ack(ap, 0); /* debug trap */ printk(KERN_WARNING "ata%d: irq trap\n", ap->id); + return 1; } #endif return 0; /* irq not handled */ |