diff options
| author | Ilya Leoshkevich <iii@linux.ibm.com> | 2025-06-24 14:04:27 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-07-01 12:36:51 -0700 |
| commit | b2268d550d20ff860bddfe3a91b1aec00414689a (patch) | |
| tree | 2da3b728fbad933d5fd6365918affff550692042 /scripts | |
| parent | selftests/bpf: bpf_rdonly_cast u{8,16,32,64} access tests (diff) | |
| download | linux-b2268d550d20ff860bddfe3a91b1aec00414689a.tar.gz linux-b2268d550d20ff860bddfe3a91b1aec00414689a.zip | |
s390/bpf: Centralize frame offset calculations
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
