diff options
| author | Steffen Eiden <seiden@linux.ibm.com> | 2026-06-22 14:47:10 +0200 |
|---|---|---|
| committer | Christian Borntraeger <borntraeger@linux.ibm.com> | 2026-10-15 13:38:23 +0200 |
| commit | b70113c00604ee52c1c18a0b1b498c9bcf5ddfbb (patch) | |
| tree | bad16f81dd75f000eb55331e88e0efeb23f5a792 /tools/perf/scripts/python/bin | |
| parent | 2687655bef3524bb158f9b592e9cb2397d9556b9 (diff) | |
s390/tools: Use arm64 headers
Introduce a flexible system for sharing ARM64 headers with s390 KVM.
Selected arm64 headers or snippet of headers will be reachable by s390
code through asm/header.h.
Add copy-arm64h.awk that detects ARM64_S390_COMMON markers and extracts
marked section into a generated header consumable by s390. Falls back to
full file copy when no markers are found.
Transform copied includes by replacing '#include <asm/...>' with
'#include <arm64/...>' and similar for uapi headers to ensure
correct path resolution on s390 and allow for a clear separation of s390
asm headers and arm64 asm headers.
Integrate this extraction into the s390/kapi target, conditional on
CONFIG_KVM.
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
