]> git.hungrycats.org Git - linux/commitdiff
[PATCH] IDE_ARCH_ACK_INTR duplicate
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 20 Mar 2003 14:03:49 +0000 (06:03 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 20 Mar 2003 14:03:49 +0000 (06:03 -0800)
ide_ack_intr is defined in asm-*/ide.h, if IDE_ARCH_ACK_INTR is set.

include/linux/ide.h

index 7510ad7d1aa4200afc0b1004f2f4f5e25f59bcc1..fb6473237d5299ea2feba60269d1c5537f4bd2ff 100644 (file)
@@ -341,10 +341,7 @@ void ide_setup_ports(      hw_regs_t *hw,
 #include <asm/ide.h>
 
 /* Currently only m68k, apus and m8xx need it */
-#ifdef IDE_ARCH_ACK_INTR
-extern int ide_irq_lock;
-# define ide_ack_intr(hwif) (hwif->hw.ack_intr ? hwif->hw.ack_intr(hwif) : 1)
-#else
+#ifndef IDE_ARCH_ACK_INTR
 # define ide_ack_intr(hwif) (1)
 #endif