• Daniel Borkmann's avatar
    bpf: split HAVE_BPF_JIT into cBPF and eBPF variant · 6077776b
    Daniel Borkmann authored
    Split the HAVE_BPF_JIT into two for distinguishing cBPF and eBPF JITs.
    
    Current cBPF ones:
    
      # git grep -n HAVE_CBPF_JIT arch/
      arch/arm/Kconfig:44:    select HAVE_CBPF_JIT
      arch/mips/Kconfig:18:   select HAVE_CBPF_JIT if !CPU_MICROMIPS
      arch/powerpc/Kconfig:129:       select HAVE_CBPF_JIT
      arch/sparc/Kconfig:35:  select HAVE_CBPF_JIT
    
    Current eBPF ones:
    
      # git grep -n HAVE_EBPF_JIT arch/
      arch/arm64/Kconfig:61:  select HAVE_EBPF_JIT
      arch/s390/Kconfig:126:  select HAVE_EBPF_JIT if PACK_STACK && HAVE_MARCH_Z196_FEATURES
      arch/x86/Kconfig:94:    select HAVE_EBPF_JIT                    if X86_64
    
    Later code also needs this facility to check for eBPF JITs.
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    Acked-by: default avatarAlexei Starovoitov <ast@kernel.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6077776b
Kconfig 13.1 KB