Skip to content

Commit

Permalink
x86/net: only select BPF_JIT when NET is enabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and David S. Miller committed May 4, 2011
1 parent 18a353f commit 9cddf15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9cddf15

Please sign in to comment.