summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay@kernel.org>2026-05-28 19:17:47 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-06-01 03:49:21 +0300
commit12a585e607fa6e3fbe2c02158c7ad284cbf75792 (patch)
tree9ed14d9a3dede247f10291e25f91462ce15c71a5 /include/linux/debugobjects.h
parent41300d032a1b1d91a3ed996ad21905463e344beb (diff)
downloadlinux-12a585e607fa6e3fbe2c02158c7ad284cbf75792.tar.xz
bpf, arm64: Fix redundant MOV and clarify stack arg comments
emit_stack_arg_store_imm() materializes the immediate into tmp and then moves tmp to the target register (x5-x7). Emit the immediate directly into the target register to avoid the redundant MOV. While here, qualify the bare "FP" in the stack-layout ASCII art as "A64_FP" so it is not confused with BPF_FP, and note that incoming stack arguments sit above the FP/LR pair pushed by the callee prologue. Suggested-by: Will Deacon <will@kernel.org> Signed-off-by: Puranjay Mohan <puranjay@kernel.org> Link: https://lore.kernel.org/r/20260528161750.1900674-2-puranjay@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions