提交 23cfce89 编写于 作者: A Alan Cox 提交者: Jeff Garzik

[PATCH] libata: make irqtrap mode compile

Signed-off-by: NAlan Cox <alan@redhat.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 88f93a31
......@@ -4340,9 +4340,9 @@ inline unsigned int ata_host_intr (struct ata_port *ap,
#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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册