From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with ESMTP id 055986B00F5 for ; Mon, 18 Jul 2011 13:09:55 -0400 (EDT) Date: Mon, 18 Jul 2011 19:09:50 +0200 From: Andi Kleen Subject: Re: [Patch] mm: make CONFIG_NUMA depend on CONFIG_SYSFS Message-ID: <20110718170950.GD8006@one.firstfloor.org> References: <1310987909-3129-1-git-send-email-amwang@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Pekka Enberg Cc: Amerigo Wang , linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Andi Kleen , Mel Gorman , linux-mm@kvack.org On Mon, Jul 18, 2011 at 03:14:18PM +0300, Pekka Enberg wrote: > On Mon, Jul 18, 2011 at 2:18 PM, Amerigo Wang wrote: > > On ppc, we got this build error with randconfig: > > > > drivers/built-in.o:(.toc1+0xf90): undefined reference to `vmstat_text': 1 errors in 1 logs > > > > This is due to that it enabled CONFIG_NUMA but not CONFIG_SYSFS. > > > > And the user-space tool numactl depends on sysfs files too. > > So, I think it is very reasonable to make CONFIG_NUMA depend on CONFIG_SYSFS. > > Is it? CONFIG_NUMA is useful even without userspace numactl tool, no? Yes it is. No direct dependency. I would rather fix it in ppc. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org