summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorSteffen Eiden <seiden@linux.ibm.com>2026-04-02 06:00:00 +0200
committerChristian Borntraeger <borntraeger@linux.ibm.com>2026-10-15 13:38:41 +0200
commit91b87e6eea4d09a4d80f6a66515e8bc2821303ad (patch)
treeb310599404813d25b8eaa81ea2c440bdca577261 /scripts/basic/split-include.c
parent4265225bbeb46e1d63b5cc55205ab6fd2a19f6c6 (diff)
downloadlinux-91b87e6eea4d09a4d80f6a66515e8bc2821303ad.tar.gz
linux-91b87e6eea4d09a4d80f6a66515e8bc2821303ad.zip
KVM: s390: arm64: Integrate arm on s390
Add all Kbuild/Makefile configurations to build a second KVM module on s390 implementing the arm64 KVM API. The new module is named kvm_arm64. Symbol conflicts with kvm_s390 are prevented by localising all internal symbols in kvm_arm64 when compiled as built-in (=y): kvm-unnamespaced.o holds all constituent objects. objcopy --localize-symbols then produces kvm-namespaced.o which is what kvm-arm64.o resolves to. For =m the normal module symbol scoping applies and no localisation step is needed. Because the %-arm64.o pattern targets do not match any kvm-arm64-y entry, kbuild would derive a wrong KBUILD_MODNAME (e.g. "kvm_main_arm64") and a wrong KBUILD_MODFILE for the virt/kvm and gmap copies. Co-developed-by: Andreas Grapentin <gra@linux.ibm.com> Signed-off-by: Andreas Grapentin <gra@linux.ibm.com> Co-developed-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Co-developed-by: Gautam Gala <ggala@linux.ibm.com> Signed-off-by: Gautam Gala <ggala@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions