]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c2a9c31bd07f557075727a69e95add3d13ab9ec
treec87a0b9027e18b36cbb7ef9b87fb2db30619067f
parent9aef388f4af01a18e5b8e2df9a974c9a4325a8d7
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