mirror of
https://github.com/torvalds/linux.git
synced 2026-03-09 17:06:36 +01:00
LoongArch: BPF: Support mixing bpf2bpf and tailcalls
The current implementation already allow such mixing. Let's enable it in JIT. Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com> Link: https://lore.kernel.org/r/20230218105317.4139666-1-hengqi.chen@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
parent
b539a287ba
commit
bb035ef0cc
1 changed files with 6 additions and 0 deletions
|
|
@ -1248,3 +1248,9 @@ out:
|
|||
|
||||
return prog;
|
||||
}
|
||||
|
||||
/* Indicate the JIT backend supports mixing bpf2bpf and tailcalls. */
|
||||
bool bpf_jit_supports_subprog_tailcalls(void)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue