diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-02-10 15:28:52 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-02-11 22:01:13 -0800 |
commit | 6a5df969ff80c1589ba9fd9136b77a4fb93371d0 (patch) | |
tree | 8ac323eeaf198fc99730c65495799149aa85e880 /kernel/bpf | |
parent | 1336c662474edec3966c96c8de026f794d16b804 (diff) |
docs: bpf: Clarify BPF_CMPXCHG wording
Based on [1], BPF_CMPXCHG should always load the old value into R0. The
phrasing in bpf.rst is somewhat ambiguous in this regard, improve it to
make this aspect crystal clear.
[1] https://lore.kernel.org/bpf/CAADnVQJFcFwxEz=wnV=hkie-EDwa8s5JGbBQeFt1TGux1OihJw@mail.gmail.com/
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210210142853.82203-1-iii@linux.ibm.com
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions