diff options
author | KP Singh <kpsingh@google.com> | 2020-03-04 20:18:47 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-03-04 13:41:05 -0800 |
commit | 88fd9e5352fe05f7fe57778293aebd4cd106960b (patch) | |
tree | a8bc1ce304a0f7e5594666995fe5d3863dbda3e5 /sound/synth | |
parent | cc6fa771024ffdb428bdf25a94309cf21e8ef1b9 (diff) | |
download | linux-88fd9e5352fe05f7fe57778293aebd4cd106960b.tar.bz2 |
bpf: Refactor trampoline update code
As we need to introduce a third type of attachment for trampolines, the
flattened signature of arch_prepare_bpf_trampoline gets even more
complicated.
Refactor the prog and count argument to arch_prepare_bpf_trampoline to
use bpf_tramp_progs to simplify the addition and accounting for new
attachment types.
Signed-off-by: KP Singh <kpsingh@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200304191853.1529-2-kpsingh@chromium.org
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions