From e47b65b032f2997aa0a7392ecdf656c86d4d7561 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Mon, 21 May 2012 20:45:37 +0200 Subject: 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 Signed-off-by: Sam Ravnborg Acked-by: David Miller Signed-off-by: Linus Torvalds --- net/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'net/Kconfig') diff --git a/net/Kconfig b/net/Kconfig index 1e47bd03dde3..245831bec09a 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -246,9 +246,6 @@ config BQL select DQL default y -config HAVE_BPF_JIT - bool - config BPF_JIT bool "enable BPF Just In Time compiler" depends on HAVE_BPF_JIT @@ -340,3 +337,7 @@ source "net/nfc/Kconfig" endif # if NET + +# Used by archs to tell that they support BPF_JIT +config HAVE_BPF_JIT + bool -- cgit v1.2.1