driver-core:move dma-coherent.c from kernel to driver/base
PATCH 1/1 driver-core:move dma-coherent.c from kernel to driver/base
From: Ming Lei <[email protected]>
Placing dma-coherent.c in driver/base is better than in kernel, since it contains code to do per-device coherent dma memory handling.
Signed-off-by Ming Lei <[email protected]>
--- drivers/base/Makefile | 1 + drivers/base/dma-coherent.c | 176 +++++++++++++++++++++++++++++++++++++++++++ kernel/Makefile | 1 - kernel/dma-coherent.c | 176 ------------------------------------------- 4 files changed, 177 insertions(+), 177 deletions(-) create mode 100644 drivers/base/dma-coherent.c delete mode 100644 kernel/dma-coherent.c
drivers/base/Makefile +1 -0
@@ -7,6 +7,7 @@ obj-y := core.o sys.o bus.o dd.o \ obj-$(CONFIG_DEVTMPFS) += devtmpfs.o obj-y += power/ obj-$(CONFIG_HAS_DMA) += dma-mapping.o +obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o obj-$(CONFIG_ISA) += isa.o obj-$(CONFIG_FW_LOADER) += firmware_class.o obj-$(CONFIG_NUMA) += node.o
drivers/base/dma-coherent.c new file +176 -0
176 lines not on this page · raw message
kernel/Makefile +0 -1
@@ -92,7 +92,6 @@ obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o obj-$(CONFIG_MARKERS) += marker.o obj-$(CONFIG_TRACEPOINTS) += tracepoint.o obj-$(CONFIG_LATENCYTOP) += latencytop.o -obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o obj-$(CONFIG_FUNCTION_TRACER) += trace/ obj-$(CONFIG_TRACING) += trace/ obj-$(CONFIG_X86_DS) += trace/
kernel/dma-coherent.c deleted +0 -176
176 lines not on this page · raw message
Signature · 1 line
1.6.0.GIT