Move dmapool.c to mm/ directory
Matthew Wilcox [Mon, 3 Dec 2007 16:57:48 +0000 (11:57 -0500)]
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>

drivers/base/Makefile
mm/Makefile
mm/dmapool.c [moved from drivers/base/dmapool.c with 100% similarity]

index b39ea3f..ed0a722 100644 (file)
@@ -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
index 5c0b0ea..e222cc5 100644 (file)
@@ -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
similarity index 100%
rename from drivers/base/dmapool.c
rename to mm/dmapool.c