summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2025-10-17 11:19:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-19 16:34:05 +0200
commitf6fa61d89ee5137861dd8821806c224b82d28431 (patch)
tree2a807a751ea5049a509913a4041240f65969d275 /include/net/aligned_data.h
parent14e4623df610d52cfc9a443dd6381bb2966d1617 (diff)
s390/bpf: Centralize frame offset calculations
commit b2268d550d20ff860bddfe3a91b1aec00414689a upstream. The calculation of the distance from %r15 to the caller-allocated portion of the stack frame is copy-pasted into multiple places in the JIT code. Move it to bpf_jit_prog() and save the result into bpf_jit::frame_off, so that the other parts of the JIT can use it. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Link: https://lore.kernel.org/r/20250624121501.50536-2-iii@linux.ibm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions