]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Make bpf_util work on uniprocessor systems
authorThomas Meyer <thomas@m3y3r.de>
Fri, 8 Sep 2017 11:19:23 +0000 (13:19 +0200)
committerShuah Khan <shuahkh@osg.samsung.com>
Mon, 18 Sep 2017 16:55:33 +0000 (10:55 -0600)
commitfaac0426c3ad68874c4ad85e8578b2cbb3ea6e52
tree526b9672eaa065a33ebe280ab328933dae31effc
parente02153b8cf10f599671d9d2713d251b3cc31b996
selftests/bpf: Make bpf_util work on uniprocessor systems

The current implementation fails to work on uniprocessor systems.
Fix the parser to also handle the uniprocessor case.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/bpf/bpf_util.h