aboutsummaryrefslogtreecommitdiffstats
path: root/net/Kconfig
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-21 14:45:37 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-21 15:50:12 -0400
commite47b65b032f2997aa0a7392ecdf656c86d4d7561 (patch)
tree801d2b42702da485506bcb19606489f0400a7c32 /net/Kconfig
parent8e95a53ba4b060e2d0d46575059ae96ea91a80fd (diff)
net: drop NET dependency from HAVE_BPF_JIT
There is no point having the NET dependency on the select target, as it forces all users to depend on NET to tell they support BPF_JIT. Move the config option to the bottom of the file - this could be a nice place also for future "selectable" config symbols. Fix up all users to drop the dependency on NET now that it is not required to supress warnings for non-NET builds. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: David Miller <davem@davemloft.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/Kconfig')
-rw-r--r--net/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 1e47bd03dde..245831bec09 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -246,9 +246,6 @@ config BQL
246 select DQL 246 select DQL
247 default y 247 default y
248 248
249config HAVE_BPF_JIT
250 bool
251
252config BPF_JIT 249config BPF_JIT
253 bool "enable BPF Just In Time compiler" 250 bool "enable BPF Just In Time compiler"
254 depends on HAVE_BPF_JIT 251 depends on HAVE_BPF_JIT
@@ -340,3 +337,7 @@ source "net/nfc/Kconfig"
340 337
341 338
342endif # if NET 339endif # if NET
340
341# Used by archs to tell that they support BPF_JIT
342config HAVE_BPF_JIT
343 bool