]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
x86/net: only select BPF_JIT when NET is enabled
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 4 May 2011 18:06:05 +0000 (11:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 May 2011 18:06:05 +0000 (11:06 -0700)
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>
arch/x86/Kconfig

index 855a1bdc437df93bb3e013eae261b1ba5ecf29b6..2096cf18064804eb7779c779b7bad754da4183b1 100644 (file)
@@ -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)