From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yinghai Lu Subject: [PATCH 02/29] lmb: Move lmb.c to mm/ Date: Tue, 30 Mar 2010 04:19:36 -0700 Message-ID: <1269948003-17221-3-git-send-email-yinghai@kernel.org> References: <1269948003-17221-1-git-send-email-yinghai@kernel.org> Return-path: In-Reply-To: <1269948003-17221-1-git-send-email-yinghai@kernel.org> Sender: linux-kernel-owner@vger.kernel.org To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , David Miller , Be Cc: Johannes Weiner , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Yinghai Lu List-Id: linux-arch.vger.kernel.org lmb.c is memory related, so move it to mm/ according to Ingo Signed-off-by: Yinghai Lu --- lib/Makefile | 2 -- mm/Makefile | 2 ++ {lib => mm}/lmb.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {lib => mm}/lmb.c (100%) diff --git a/lib/Makefile b/lib/Makefile index 2e152ae..a463a4d 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -85,8 +85,6 @@ obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o lib-$(CONFIG_GENERIC_BUG) += bug.o -obj-$(CONFIG_HAVE_LMB) += lmb.o - obj-$(CONFIG_HAVE_ARCH_TRACEHOOK) += syscall.o obj-$(CONFIG_DYNAMIC_DEBUG) += dynamic_debug.o diff --git a/mm/Makefile b/mm/Makefile index 7a68d2a..df22fd1 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -15,6 +15,8 @@ obj-y := bootmem.o filemap.o mempool.o oom_kill.o fadvise.o \ $(mmu-y) obj-y += init-mm.o +obj-$(CONFIG_HAVE_LMB) += lmb.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 diff --git a/lib/lmb.c b/mm/lmb.c similarity index 100% rename from lib/lmb.c rename to mm/lmb.c -- 1.6.4.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcsinet12.oracle.com ([148.87.113.124]:29911 "EHLO rcsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756492Ab0C3Laq (ORCPT ); Tue, 30 Mar 2010 07:30:46 -0400 From: Yinghai Lu Subject: [PATCH 02/29] lmb: Move lmb.c to mm/ Date: Tue, 30 Mar 2010 04:19:36 -0700 Message-ID: <1269948003-17221-3-git-send-email-yinghai@kernel.org> In-Reply-To: <1269948003-17221-1-git-send-email-yinghai@kernel.org> References: <1269948003-17221-1-git-send-email-yinghai@kernel.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , David Miller , Benjamin Herrenschmidt , Linus Torvalds Cc: Johannes Weiner , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Yinghai Lu Message-ID: <20100330111936.7WCyn_mQF0qURIZa3FzKTZqD4znHLAWcMknZY91TdeM@z> lmb.c is memory related, so move it to mm/ according to Ingo Signed-off-by: Yinghai Lu --- lib/Makefile | 2 -- mm/Makefile | 2 ++ {lib => mm}/lmb.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {lib => mm}/lmb.c (100%) diff --git a/lib/Makefile b/lib/Makefile index 2e152ae..a463a4d 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -85,8 +85,6 @@ obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o lib-$(CONFIG_GENERIC_BUG) += bug.o -obj-$(CONFIG_HAVE_LMB) += lmb.o - obj-$(CONFIG_HAVE_ARCH_TRACEHOOK) += syscall.o obj-$(CONFIG_DYNAMIC_DEBUG) += dynamic_debug.o diff --git a/mm/Makefile b/mm/Makefile index 7a68d2a..df22fd1 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -15,6 +15,8 @@ obj-y := bootmem.o filemap.o mempool.o oom_kill.o fadvise.o \ $(mmu-y) obj-y += init-mm.o +obj-$(CONFIG_HAVE_LMB) += lmb.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 diff --git a/lib/lmb.c b/mm/lmb.c similarity index 100% rename from lib/lmb.c rename to mm/lmb.c -- 1.6.4.2