1
0
Fork 0

[PATCH] libata: make irqtrap mode compile

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
hifive-unleashed-5.1
Alan Cox 2006-03-21 16:06:53 +00:00 committed by Jeff Garzik
parent 88f93a31dc
commit 23cfce8924
1 changed files with 1 additions and 1 deletions

View File

@ -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 */