From: Alan Cox Date: Tue, 21 Mar 2006 16:06:53 +0000 (+0000) Subject: [PATCH] libata: make irqtrap mode compile X-Git-Tag: MMI-PSA29.97-13-9~51551 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=23cfce8924f1e7ff1d14b8f1afd7550182026d16;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] libata: make irqtrap mode compile Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik --- diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index d6b8d8e6364b..673ddf611d0e 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 */