Loading arch/m68k/include/asm/dma-mapping.h +0 −5 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ struct scatterlist; #ifndef CONFIG_MMU_SUN3 static inline int dma_supported(struct device *dev, u64 mask) { return 1; Loading Loading @@ -111,10 +110,6 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t handle) return 0; } #else #include <asm-generic/dma-mapping-broken.h> #endif /* drivers/base/dma-mapping.c */ extern int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, void *cpu_addr, dma_addr_t dma_addr, size_t size); Loading arch/m68k/kernel/Makefile +1 −3 Original line number Diff line number Diff line Loading @@ -20,7 +20,5 @@ obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o obj-$(CONFIG_PCI) += pcibios.o ifndef CONFIG_MMU_SUN3 obj-y += dma.o endif obj-$(CONFIG_HAS_DMA) += dma.o drivers/block/swim.c +1 −0 Original line number Diff line number Diff line Loading @@ -844,6 +844,7 @@ static int swim_floppy_init(struct swim_priv *swd) swd->unit[drive].swd = swd; } spin_lock_init(&swd->lock); swd->queue = blk_init_queue(do_fd_request, &swd->lock); if (!swd->queue) { err = -ENOMEM; Loading Loading
arch/m68k/include/asm/dma-mapping.h +0 −5 Original line number Diff line number Diff line Loading @@ -5,7 +5,6 @@ struct scatterlist; #ifndef CONFIG_MMU_SUN3 static inline int dma_supported(struct device *dev, u64 mask) { return 1; Loading Loading @@ -111,10 +110,6 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t handle) return 0; } #else #include <asm-generic/dma-mapping-broken.h> #endif /* drivers/base/dma-mapping.c */ extern int dma_common_mmap(struct device *dev, struct vm_area_struct *vma, void *cpu_addr, dma_addr_t dma_addr, size_t size); Loading
arch/m68k/kernel/Makefile +1 −3 Original line number Diff line number Diff line Loading @@ -20,7 +20,5 @@ obj-$(CONFIG_MMU_MOTOROLA) += ints.o vectors.o obj-$(CONFIG_MMU_SUN3) += ints.o vectors.o obj-$(CONFIG_PCI) += pcibios.o ifndef CONFIG_MMU_SUN3 obj-y += dma.o endif obj-$(CONFIG_HAS_DMA) += dma.o
drivers/block/swim.c +1 −0 Original line number Diff line number Diff line Loading @@ -844,6 +844,7 @@ static int swim_floppy_init(struct swim_priv *swd) swd->unit[drive].swd = swd; } spin_lock_init(&swd->lock); swd->queue = blk_init_queue(do_fd_request, &swd->lock); if (!swd->queue) { err = -ENOMEM; Loading