diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-06 12:43:30 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-13 21:06:10 +0100 |
commit | 7249c1a52df9967cd23550f3dc24fb6ca43cdc6a (patch) | |
tree | c87a0b9027e18b36cbb7ef9b87fb2db30619067f /arch/powerpc/include/asm/dma-mapping.h | |
parent | 05887cb610a54bf568de7f0bc07c4a64e45ac6f9 (diff) | |
download | lwn-7249c1a52df9967cd23550f3dc24fb6ca43cdc6a.tar.gz lwn-7249c1a52df9967cd23550f3dc24fb6ca43cdc6a.zip |
dma-mapping: move various slow path functions out of line
There is no need to have all setup and coherent allocation / freeing
routines inline. Move them out of line to keep the implemeation
nicely encapsulated and save some kernel text size.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/powerpc/include/asm/dma-mapping.h')
-rw-r--r-- | arch/powerpc/include/asm/dma-mapping.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/dma-mapping.h b/arch/powerpc/include/asm/dma-mapping.h index 8fa394520af6..5201f2b7838c 100644 --- a/arch/powerpc/include/asm/dma-mapping.h +++ b/arch/powerpc/include/asm/dma-mapping.h @@ -108,7 +108,6 @@ static inline void set_dma_offset(struct device *dev, dma_addr_t off) } #define HAVE_ARCH_DMA_SET_MASK 1 -extern int dma_set_mask(struct device *dev, u64 dma_mask); extern u64 __dma_get_required_mask(struct device *dev); |