summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/floppy.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-07-13 16:12:05 +0200
committerChristoph Hellwig <hch@lst.de>2017-10-19 16:37:08 +0200
commitacfef4f126a716018127dcf147be0cc16c304e72 (patch)
tree078986818b0108957177ef9b19972c0e238211d2 /arch/powerpc/include/asm/floppy.h
parentdrivers: flag buses which demand DMA configuration (diff)
downloadlinux-acfef4f126a716018127dcf147be0cc16c304e72.tar.xz
linux-acfef4f126a716018127dcf147be0cc16c304e72.zip
floppy: consolidate the dummy fd_cacheflush definition
Only mips defines this helper, so remove all the other arch definitions. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'arch/powerpc/include/asm/floppy.h')
-rw-r--r--arch/powerpc/include/asm/floppy.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/floppy.h b/arch/powerpc/include/asm/floppy.h
index 936a904ae78c..167c44b58848 100644
--- a/arch/powerpc/include/asm/floppy.h
+++ b/arch/powerpc/include/asm/floppy.h
@@ -25,7 +25,6 @@
#define fd_get_dma_residue() fd_ops->_get_dma_residue(FLOPPY_DMA)
#define fd_enable_irq() enable_irq(FLOPPY_IRQ)
#define fd_disable_irq() disable_irq(FLOPPY_IRQ)
-#define fd_cacheflush(addr,size) /* nothing */
#define fd_free_irq() free_irq(FLOPPY_IRQ, NULL);
#include <linux/pci.h>
@@ -152,7 +151,6 @@ static int hard_dma_setup(char *addr, unsigned long size, int mode, int io)
prev_dir = dir;
fd_clear_dma_ff();
- fd_cacheflush(addr, size);
fd_set_dma_mode(mode);
set_dma_addr(FLOPPY_DMA, bus_addr);
fd_set_dma_count(size);