summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2025-05-19 23:30:05 +0100
committerAlexei Starovoitov <ast@kernel.org>2025-05-22 08:40:56 -0700
commit9053ba042fc7c0e718566932288cc88b3bb2dbe1 (patch)
tree8fee56a2408a473edf5d89be6327dcd60be72690 /scripts/lib/kdoc/kdoc_re.py
parentf7562001c8b854390899b53d06ba4202c89339e6 (diff)
s390/bpf: Add macros for calling external functions
After the V!=R rework (commit c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address spaces")), kernel and BPF programs are allocated within a 4G region, making it possible to use relative addressing to directly use kernel functions from BPF code. Add two new macros for calling kernel functions from BPF code: EMIT6_PCREL_RILB_PTR() and EMIT6_PCREL_RILC_PTR(). Factor out parts of the existing macros that are helpful for implementing the new ones. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Link: https://lore.kernel.org/r/20250519223646.66382-3-iii@linux.ibm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions