Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754433Ab1EDQ5F (ORCPT ); Wed, 4 May 2011 12:57:05 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:54861 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752817Ab1EDQ5C (ORCPT ); Wed, 4 May 2011 12:57:02 -0400 Date: Wed, 4 May 2011 09:56:51 -0700 From: Randy Dunlap To: Stephen Rothwell , netdev Cc: linux-next@vger.kernel.org, LKML , davem@davemloft.net Subject: [PATCH -next] x86/net: only select BPF_JIT when NET is enabled Message-Id: <20110504095651.60082594.randy.dunlap@oracle.com> In-Reply-To: <20110504144759.802483cc.sfr@canb.auug.org.au> References: <20110504144759.802483cc.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Source-IP: rcsinet15.oracle.com [148.87.113.117] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4DC1855A.00F0:SCFMA4539811,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 970 Lines: 28 From: Randy Dunlap Fix kconfig unmet dependency warning: HAVE_BPF_JIT depends on NET, so make the "select" of it depend on NET also. warning: (X86) selects HAVE_BPF_JIT which has unmet direct dependencies (NET) Signed-off-by: Randy Dunlap --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20110503.orig/arch/x86/Kconfig +++ linux-next-20110503/arch/x86/Kconfig @@ -71,7 +71,7 @@ config X86 select GENERIC_IRQ_SHOW select IRQ_FORCED_THREADING select USE_GENERIC_SMP_HELPERS if SMP - select HAVE_BPF_JIT if X86_64 + select HAVE_BPF_JIT if (X86_64 && NET) config INSTRUCTION_DECODER def_bool (KPROBES || PERF_EVENTS) -- 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/