From: Matthew Wilcox Date: Mon, 3 Dec 2007 16:57:48 +0000 (-0500) Subject: Move dmapool.c to mm/ directory X-Git-Tag: v2.6.25-rc1~780^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=141e9d4b5492499c4735d764b599c21e83dac154;p=linux-2.6 Move dmapool.c to mm/ directory Signed-off-by: Matthew Wilcox --- diff --git a/drivers/base/Makefile b/drivers/base/Makefile index b39ea3f59c..ed0a722c38 100644 --- a/drivers/base/Makefile +++ b/drivers/base/Makefile @@ -5,7 +5,7 @@ obj-y := core.o sys.o bus.o dd.o \ cpu.o firmware.o init.o map.o devres.o \ attribute_container.o transport_class.o obj-y += power/ -obj-$(CONFIG_HAS_DMA) += dma-mapping.o dmapool.o +obj-$(CONFIG_HAS_DMA) += dma-mapping.o obj-$(CONFIG_ISA) += isa.o obj-$(CONFIG_FW_LOADER) += firmware_class.o obj-$(CONFIG_NUMA) += node.o diff --git a/mm/Makefile b/mm/Makefile index 5c0b0ea757..e222cc5a79 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -15,6 +15,7 @@ obj-y := bootmem.o filemap.o mempool.o oom_kill.o fadvise.o \ obj-$(CONFIG_BOUNCE) += bounce.o obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o thrash.o +obj-$(CONFIG_HAS_DMA) += dmapool.o obj-$(CONFIG_HUGETLBFS) += hugetlb.o obj-$(CONFIG_NUMA) += mempolicy.o obj-$(CONFIG_SPARSEMEM) += sparse.o diff --git a/drivers/base/dmapool.c b/mm/dmapool.c similarity index 100% rename from drivers/base/dmapool.c rename to mm/dmapool.c