aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c
diff options
context:
space:
mode:
authorBrendan Jackman <jackmanb@google.com>2021-01-14 18:17:41 +0000
committerAlexei Starovoitov <ast@kernel.org>2021-01-14 18:34:28 -0800
commit11c11d0751fce605090761f9c066bae947a35e76 (patch)
tree4e39d31bc3a058e88da6d125c72cc69cb6ff2517 /tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c
parentbade5c554f1ac70a50cefe96517957629dbc0d8f (diff)
bpf: x86: Factor out emission of ModR/M for *(reg + off)
The case for JITing atomics is about to get more complicated. Let's factor out some common code to make the review and result more readable. NB the atomics code doesn't yet use the new helper - a subsequent patch will add its use as a side-effect of other changes. Signed-off-by: Brendan Jackman <jackmanb@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20210114181751.768687-2-jackmanb@google.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c')
0 files changed, 0 insertions, 0 deletions