lkml.org 
[lkml]   [2011]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 4 May 2011 09:56:51 -0700
FromRandy Dunlap <>
Subject[PATCH -next] x86/net: only select BPF_JIT when NET is enabled
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)

\
 
 \ /
  Last update: 2011-05-04 18:59    [from the cache]
©2003-2010