OSDN Git Service

dma-mapping: move various slow path functions out of line
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 20:43:30 +0000 (12:43 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 20:06:10 +0000 (21:06 +0100)
commit7249c1a52df9967cd23550f3dc24fb6ca43cdc6a
treec87a0b9027e18b36cbb7ef9b87fb2db30619067f
parent05887cb610a54bf568de7f0bc07c4a64e45ac6f9
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>
arch/powerpc/include/asm/dma-mapping.h
include/linux/dma-mapping.h
kernel/dma/mapping.c