From 69b8fbef2c0d88be45f01558675b76f5c1e77d4a Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sun, 25 Aug 2019 17:56:21 -0700 Subject: [PATCH] bpf: Allow building BPF JIT without module support on arm64 arm64 no longer uses the module_alloc and module_free functions to allocate JIT memory for the BPF JIT, so we can safely build and use the BPF JIT without module support. Signed-off-by: Danny Lin Signed-off-by: Adam W. Willis --- net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/Kconfig b/net/Kconfig index 8f4e35a1d6f7..cbba4453ff52 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -295,7 +295,7 @@ config BQL config BPF_JIT bool "enable BPF Just In Time compiler" depends on HAVE_CBPF_JIT || HAVE_EBPF_JIT - depends on MODULES + depends on MODULES || ARM64 ---help--- Berkeley Packet Filter filtering capabilities are normally handled by an interpreter. This option allows kernel to generate a native