Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23cfce89 authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik
Browse files

[PATCH] libata: make irqtrap mode compile



Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 88f93a31
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */