]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Move function is_ldimm64() earlier in libbpf.c
authorYonghong Song <yhs@fb.com>
Fri, 26 Feb 2021 20:49:29 +0000 (12:49 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 26 Feb 2021 21:23:52 +0000 (13:23 -0800)
commit9bfc8879121c53b3a2f2c877527ef0a7fabd27af
tree0584b62891e31734e24d7cab1abb2e0e1c3e71b8
parent80e9a0ece9975e601aebffedba4e0b25f1b95db4
libbpf: Move function is_ldimm64() earlier in libbpf.c

Move function is_ldimm64() close to the beginning of libbpf.c,
so it can be reused by later code and the next patch as well.
There is no functionality change.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210226204929.3885295-1-yhs@fb.com
tools/lib/bpf/libbpf.c