From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 09 Sep 2008 10:21:19 +0900 From: Yasunori Goto Subject: Re: [PATCH] Cleanup to make remove_memory() arch neutral In-Reply-To: <20080908175621.6dfad0a6.akpm@linux-foundation.org> References: <1220910754.25932.57.camel@badari-desktop> <20080908175621.6dfad0a6.akpm@linux-foundation.org> Message-Id: <20080909101703.C099.E1E9C6FF@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: Badari Pulavarty , garyhade@us.ibm.com, linux-mm@kvack.org, mel@csn.ul.ie, lcm@us.ibm.com, linux-kernel@vger.kernel.org, x86@kernel.org, mingo@elte.hu List-ID: > On Mon, 08 Sep 2008 14:52:34 -0700 > Badari Pulavarty wrote: > > > There is nothing architecture specific about remove_memory(). > > remove_memory() function is common for all architectures which > > support hotplug memory remove. Instead of duplicating it in every > > architecture, collapse them into arch neutral function. > > > > Signed-off-by: Badari Pulavarty > > > > arch/ia64/mm/init.c | 17 ----------------- > > arch/powerpc/mm/mem.c | 17 ----------------- > > arch/s390/mm/init.c | 11 ----------- > > mm/memory_hotplug.c | 10 ++++++++++ > > 4 files changed, 10 insertions(+), 45 deletions(-) > > I spent some time trying to build-test this on ia64 and gave up. How > the heck do you turn on memory hotplug on ia64? > EXPORT_SYMBOL_GPL(remove_memory) is removed. It is required by drivers/acpi/acpi_memhotplug.ko. -- Yasunori Goto -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org