aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:21 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:21 -0400
commitd15a613ba01ff2b209ecad7a38ccbb23b3b06c92 (patch)
tree3c13ef45f1eae35a2079f04350266f61bfbfa6c8 /arch/m68k
parent088b1b88609ce89b6ab19d114cdbec94a44aa22c (diff)
ide: remove IDE_ARCH_INTR (v2)
This micro-optimization is not worth it. Just always check for existence of ->ack_intr method in ide_intr() and ide_timer_expiry(). v2: Fix brown-paper-bag bug spotted by David D. Kilzer. Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Michael Schmitz <schmitz@debian.org> Cc: "David D. Kilzer" <ddkilzer@kilzer.net> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/ide.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/ide.h b/arch/m68k/include/asm/ide.h
index b996a3c8cff5..9f95f06eebe2 100644
--- a/arch/m68k/include/asm/ide.h
+++ b/arch/m68k/include/asm/ide.h
@@ -123,8 +123,5 @@ ide_get_lock(irq_handler_t handler, void *data)
123} 123}
124#endif /* CONFIG_BLK_DEV_FALCON_IDE */ 124#endif /* CONFIG_BLK_DEV_FALCON_IDE */
125 125
126#define IDE_ARCH_ACK_INTR
127#define ide_ack_intr(hwif) ((hwif)->ack_intr ? (hwif)->ack_intr(hwif) : 1)
128
129#endif /* __KERNEL__ */ 126#endif /* __KERNEL__ */
130#endif /* _M68K_IDE_H */ 127#endif /* _M68K_IDE_H */