diff options
author | Andrii Nakryiko <[email protected]> | 2024-04-03 20:47:26 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-04-03 21:36:35 -0700 |
commit | 1e9e0b85255e6eca6036b59d8a5fbca6501905ac (patch) | |
tree | 0b90da08e9a36a61517c7e31b761e140234e82b7 /arch/riscv/net/bpf_jit_comp64.c | |
parent | 519e1de94b719f741e0de42b085b9a4551c5b15c (diff) |
bpf: handle CONFIG_SMP=n configuration in x86 BPF JIT
On non-SMP systems, there is no "per-CPU" data, it's just global data.
So in such case just don't do this_cpu_off-based per-CPU address adjustment.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 7bdbf7446305 ("bpf: add special internal-only MOV instruction to resolve per-CPU addrs")
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'arch/riscv/net/bpf_jit_comp64.c')
0 files changed, 0 insertions, 0 deletions