patch-2.1.91 linux/include/asm-m68k/ide.h

Next file: linux/include/asm-m68k/setup.h
Previous file: linux/include/asm-m68k/amifd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.90/linux/include/asm-m68k/ide.h linux/include/asm-m68k/ide.h
@@ -406,7 +406,7 @@
 #endif /* CONFIG_ATARI */
 }
 
-#define ide_ack_intr(hwif) (hwif)->ack_intr((hwif))
+#define ide_ack_intr(hwif)	((hwif)->ack_intr ? (hwif)->ack_intr(hwif) : 1)
 
 /*
  * On the Atari, we sometimes can't enable interrupts:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov