]> www.infradead.org Git - users/willy/xarray.git/commit
bpf, docs: Clarify call local offset
authorDave Thaler <dthaler1968@googlemail.com>
Sat, 25 May 2024 15:33:32 +0000 (08:33 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 25 May 2024 17:41:57 +0000 (10:41 -0700)
commitf980f13e4eb299abba6692365315196e1ba6fd2c
treecf2ec6c3b4a9fd8bcf0788af163eaa9be5367004
parent6a6d8b6f00ade597e0030669fae3fdf57cfba33b
bpf, docs: Clarify call local offset

In the Jump instructions section it explains that the offset is
"relative to the instruction following the jump instruction".
But the program-local section confusingly said "referenced by
offset from the call instruction, similar to JA".

This patch updates that sentence with consistent wording, saying
it's relative to the instruction following the call instruction.

Signed-off-by: Dave Thaler <dthaler1968@gmail.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20240525153332.21355-1-dthaler1968@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/standardization/instruction-set.rst