Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bpf, mips: Clean up config options about JIT

The config options MIPS_CBPF_JIT and MIPS_EBPF_JIT are useless, remove
them in arch/mips/Kconfig, and then modify arch/mips/net/Makefile.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Link: https://lore.kernel.org/bpf/1633915150-13220-2-git-send-email-yangtiezhu@loongson.cn

authored by

Tiezhu Yang and committed by
Daniel Borkmann
307d149d 5319255b

+3 -12
-9
arch/mips/Kconfig
··· 1214 1214 The platform must provide plat_get_fdt() if it selects CONFIG_USE_OF 1215 1215 to allow access to command line and entropy sources. 1216 1216 1217 - config MIPS_CBPF_JIT 1218 - def_bool y 1219 - depends on BPF_JIT && HAVE_CBPF_JIT 1220 - 1221 - config MIPS_EBPF_JIT 1222 - def_bool y 1223 - depends on BPF_JIT && HAVE_EBPF_JIT 1224 - 1225 - 1226 1217 # 1227 1218 # Endianness selection. Sufficiently obscure so many users don't know what to 1228 1219 # answer,so we try hard to limit the available choices. Also the use of a
+3 -3
arch/mips/net/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 # MIPS networking code 3 3 4 - obj-$(CONFIG_MIPS_EBPF_JIT) += bpf_jit_comp.o 4 + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o 5 5 6 6 ifeq ($(CONFIG_32BIT),y) 7 - obj-$(CONFIG_MIPS_EBPF_JIT) += bpf_jit_comp32.o 7 + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp32.o 8 8 else 9 - obj-$(CONFIG_MIPS_EBPF_JIT) += bpf_jit_comp64.o 9 + obj-$(CONFIG_BPF_JIT) += bpf_jit_comp64.o 10 10 endif