diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2024-08-22 10:41:07 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-08-22 17:35:20 +0200 |
commit | ae010757a55b57c8b82628e8ea9b7da2269131d9 (patch) | |
tree | c2dc79a71819398babdf26483c90f764e1044b3a /kernel/bpf/helpers.c | |
parent | bpf: Fix percpu address space issues (diff) | |
download | linux-ae010757a55b57c8b82628e8ea9b7da2269131d9.tar.xz linux-ae010757a55b57c8b82628e8ea9b7da2269131d9.zip |
bpf: rename nocsr -> bpf_fastcall in verifier
Attribute used by LLVM implementation of the feature had been changed
from no_caller_saved_registers to bpf_fastcall (see [1]).
This commit replaces references to nocsr by references to bpf_fastcall
to keep LLVM and Kernel parts in sync.
[1] https://github.com/llvm/llvm-project/pull/105417
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20240822084112.3257995-2-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/helpers.c')
-rw-r--r-- | kernel/bpf/helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/helpers.c b/kernel/bpf/helpers.c index ccca6fe0367c..4105b4af6e03 100644 --- a/kernel/bpf/helpers.c +++ b/kernel/bpf/helpers.c @@ -158,7 +158,7 @@ const struct bpf_func_proto bpf_get_smp_processor_id_proto = { .func = bpf_get_smp_processor_id, .gpl_only = false, .ret_type = RET_INTEGER, - .allow_nocsr = true, + .allow_fastcall = true, }; BPF_CALL_0(bpf_get_numa_node_id) |