diff options
author | Christoph Hellwig <hch@lst.de> | 2017-07-13 16:12:05 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-10-19 16:37:08 +0200 |
commit | acfef4f126a716018127dcf147be0cc16c304e72 (patch) | |
tree | 078986818b0108957177ef9b19972c0e238211d2 /arch/powerpc/include/asm/floppy.h | |
parent | d89e2378a97fafdc74cbf997e7c88af75b81610a (diff) | |
download | op-kernel-dev-acfef4f126a716018127dcf147be0cc16c304e72.zip op-kernel-dev-acfef4f126a716018127dcf147be0cc16c304e72.tar.gz |
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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/floppy.h b/arch/powerpc/include/asm/floppy.h index 936a904..167c44b 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); |