diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-05-04 11:06:05 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-04 11:06:05 -0700 |
commit | 9cddf15f18865c4f7124d829be41799f59aaa5cf (patch) | |
tree | 9fa5b220e107e29f71344c64b12d9bb9eec4b0d1 | |
parent | 18a353f42817f08e3501162ceda9d2efddb08a40 (diff) | |
download | linux-stable-9cddf15f18865c4f7124d829be41799f59aaa5cf.tar.gz linux-stable-9cddf15f18865c4f7124d829be41799f59aaa5cf.tar.bz2 linux-stable-9cddf15f18865c4f7124d829be41799f59aaa5cf.zip |
x86/net: only select BPF_JIT when NET is enabled
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/x86/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 855a1bdc437d..2096cf180648 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -72,7 +72,7 @@ config X86 select IRQ_FORCED_THREADING select USE_GENERIC_SMP_HELPERS if SMP select ARCH_NO_SYSDEV_OPS - select HAVE_BPF_JIT if X86_64 + select HAVE_BPF_JIT if (X86_64 && NET) config INSTRUCTION_DECODER def_bool (KPROBES || PERF_EVENTS) |