From: Christoph Hellwig <hch@lst.de> Date: 2019-08-07 15:34:44
The powerpc version of dma-mapping.h only contains a version of
get_arch_dma_ops that always return NULL. Replace it with the
asm-generic version that does the same.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
arch/powerpc/include/asm/Kbuild | 1 +
arch/powerpc/include/asm/dma-mapping.h | 18 ------------------
2 files changed, 1 insertion(+), 18 deletions(-)
delete mode 100644 arch/powerpc/include/asm/dma-mapping.h
@@ -1,18 +0,0 @@-/* SPDX-License-Identifier: GPL-2.0 */-/*- * Copyright (C) 2004 IBM- */-#ifndef _ASM_DMA_MAPPING_H-#define _ASM_DMA_MAPPING_H--static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)-{- /* We don't handle the NULL dev case for ISA for now. We could- * do it via an out of line call but it is not needed for now. The- * only ISA DMA device we support is the floppy and we have a hack- * in the floppy driver directly to get a device for us.- */- return NULL;-}--#endif /* _ASM_DMA_MAPPING_H */
From: Christoph Hellwig <hch@lst.de> Date: 2019-09-27 22:57:41
ping?
On Wed, Aug 07, 2019 at 06:07:52PM +0300, Christoph Hellwig wrote:
quoted hunk
The powerpc version of dma-mapping.h only contains a version of
get_arch_dma_ops that always return NULL. Replace it with the
asm-generic version that does the same.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
arch/powerpc/include/asm/Kbuild | 1 +
arch/powerpc/include/asm/dma-mapping.h | 18 ------------------
2 files changed, 1 insertion(+), 18 deletions(-)
delete mode 100644 arch/powerpc/include/asm/dma-mapping.h
@@ -1,18 +0,0 @@-/* SPDX-License-Identifier: GPL-2.0 */-/*- * Copyright (C) 2004 IBM- */-#ifndef _ASM_DMA_MAPPING_H-#define _ASM_DMA_MAPPING_H--static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)-{- /* We don't handle the NULL dev case for ISA for now. We could- * do it via an out of line call but it is not needed for now. The- * only ISA DMA device we support is the floppy and we have a hack- * in the floppy driver directly to get a device for us.- */- return NULL;-}--#endif /* _ASM_DMA_MAPPING_H */
From: Michael Ellerman <hidden> Date: 2019-11-14 09:24:47
On Wed, 2019-08-07 at 15:07:52 UTC, Christoph Hellwig wrote:
The powerpc version of dma-mapping.h only contains a version of
get_arch_dma_ops that always return NULL. Replace it with the
asm-generic version that does the same.
Signed-off-by: Christoph Hellwig <hch@lst.de>