netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] x86/net: only select BPF_JIT when NET is enabled
       [not found] <20110504144759.802483cc.sfr@canb.auug.org.au>
@ 2011-05-04 16:56 ` Randy Dunlap
  2011-05-04 18:06   ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-05-04 16:56 UTC (permalink / raw)
  To: Stephen Rothwell, netdev; +Cc: linux-next, LKML, davem

From: Randy Dunlap <randy.dunlap@oracle.com>

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 <randy.dunlap@oracle.com>
---
 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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] x86/net: only select BPF_JIT when NET is enabled
  2011-05-04 16:56 ` [PATCH -next] x86/net: only select BPF_JIT when NET is enabled Randy Dunlap
@ 2011-05-04 18:06   ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-05-04 18:06 UTC (permalink / raw)
  To: randy.dunlap; +Cc: sfr, netdev, linux-next, linux-kernel

From: Randy Dunlap <randy.dunlap@oracle.com>
Date: Wed, 4 May 2011 09:56:51 -0700

> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> 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 <randy.dunlap@oracle.com>

Applied, thanks Randy.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-04 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20110504144759.802483cc.sfr@canb.auug.org.au>
2011-05-04 16:56 ` [PATCH -next] x86/net: only select BPF_JIT when NET is enabled Randy Dunlap
2011-05-04 18:06   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).