Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755921AbXIZBsK (ORCPT ); Tue, 25 Sep 2007 21:48:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753335AbXIZBr5 (ORCPT ); Tue, 25 Sep 2007 21:47:57 -0400 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:37721 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753072AbXIZBr4 (ORCPT ); Tue, 25 Sep 2007 21:47:56 -0400 Date: Wed, 26 Sep 2007 10:48:54 +0900 From: KAMEZAWA Hiroyuki To: KAMEZAWA Hiroyuki Cc: Kamalesh Babulal , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andy Whitcroft , Balbir Singh , Badari Pulavarty Subject: Re: 2.6.23-rc8-mm1 - powerpc memory hotplug link failure Message-Id: <20070926104854.7cc09d13.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20070926103205.c72a8e8a.kamezawa.hiroyu@jp.fujitsu.com> References: <20070925014625.3cd5f896.akpm@linux-foundation.org> <46F968C2.7080900@linux.vnet.ibm.com> <20070926103205.c72a8e8a.kamezawa.hiroyu@jp.fujitsu.com> Organization: Fujitsu X-Mailer: Sylpheed 2.4.2 (GTK+ 2.10.11; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1579 Lines: 50 On Wed, 26 Sep 2007 10:32:05 +0900 KAMEZAWA Hiroyuki wrote: > Maybe my patch is the problem. could you give me your .config ? > Ah, memory hot remove is selectable even if the arch doesn't support it....sorry. ok, this is fix. Thanks, -Kame == MEMORY_HOTREMOVE config option is selectable even it arch doesn't support it. This fix it. Signed-off-by: KAMEZAWA Hiroyuki Index: linux-2.6.23-rc8-mm1/arch/ia64/Kconfig =================================================================== --- linux-2.6.23-rc8-mm1.orig/arch/ia64/Kconfig +++ linux-2.6.23-rc8-mm1/arch/ia64/Kconfig @@ -305,6 +305,9 @@ config HOTPLUG_CPU config ARCH_ENABLE_MEMORY_HOTPLUG def_bool y +config ARCH_ENABLE_MEMORY_HOTREMOVE + def_bool y + config SCHED_SMT bool "SMT scheduler support" depends on SMP Index: linux-2.6.23-rc8-mm1/mm/Kconfig =================================================================== --- linux-2.6.23-rc8-mm1.orig/mm/Kconfig +++ linux-2.6.23-rc8-mm1/mm/Kconfig @@ -141,7 +141,7 @@ config MEMORY_HOTPLUG_SPARSE config MEMORY_HOTREMOVE bool "Allow for memory hot remove" - depends on MEMORY_HOTPLUG + depends on MEMORY_HOTPLUG && ARCH_ENABLE_MEMORY_HOTREMOVE depends on MIGRATION # Heavily threaded applications may benefit from splitting the mm-wide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/