File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ config MIPS
33
33
select HAVE_ARCH_SECCOMP_FILTER
34
34
select HAVE_ARCH_TRACEHOOK
35
35
select HAVE_ARCH_TRANSPARENT_HUGEPAGE if CPU_SUPPORTS_HUGEPAGES && 64BIT
36
- select HAVE_CBPF_JIT if !CPU_MICROMIPS
36
+ select HAVE_CBPF_JIT if (!64BIT && !CPU_MICROMIPS)
37
+ select HAVE_EBPF_JIT if (64BIT && !CPU_MICROMIPS)
37
38
select HAVE_CC_STACKPROTECTOR
38
39
select HAVE_CONTEXT_TRACKING
39
40
select HAVE_COPY_THREAD_TLS
@@ -1178,6 +1179,15 @@ config SYS_SUPPORTS_RELOCATABLE
1178
1179
The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF
1179
1180
to allow access to command line and entropy sources.
1180
1181
1182
+ config MIPS_CBPF_JIT
1183
+ def_bool y
1184
+ depends on BPF_JIT && HAVE_CBPF_JIT
1185
+
1186
+ config MIPS_EBPF_JIT
1187
+ def_bool y
1188
+ depends on BPF_JIT && HAVE_EBPF_JIT
1189
+
1190
+
1181
1191
#
1182
1192
# Endianness selection. Sufficiently obscure so many users don't know what to
1183
1193
# answer,so we try hard to limit the available choices. Also the use of a
Original file line number Diff line number Diff line change 1
1
# MIPS networking code
2
2
3
- obj-$(CONFIG_BPF_JIT) += bpf_jit.o bpf_jit_asm.o
3
+ obj-$(CONFIG_MIPS_CBPF_JIT) += bpf_jit.o bpf_jit_asm.o
4
+ obj-$(CONFIG_MIPS_EBPF_JIT) += ebpf_jit.o
You can’t perform that action at this time.
0 commit comments