patch-2.3.20 linux/include/asm-ppc/ide.h

Next file: linux/include/asm-ppc/init.h
Previous file: linux/include/asm-ppc/feature.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.19/linux/include/asm-ppc/ide.h linux/include/asm-ppc/ide.h
@@ -178,7 +178,11 @@
 /*
  * The following are not needed for the non-m68k ports
  */
+#ifdef CONFIG_APUS
+#define ide_ack_intr(hwif) (hwif->hw.ack_intr ? hwif->hw.ack_intr(hwif) : 1)
+#else
 #define ide_ack_intr(hwif)		(1)
+#endif
 #define ide_release_lock(lock)		do {} while (0)
 #define ide_get_lock(lock, hdlr, data)	do {} while (0)
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)