s390: remove kvm_types.h from Kbuild
PATCH 1/1 s390: remove kvm_types.h from Kbuild
kvm_types.h is mandatory in include/asm-generic/Kbuild so having it in another Kbuild file causes a warning. Remove it from the arch/ Kbuild file to fix the warning.
../scripts/Makefile.asm-headers:39: redundant generic-y found in ../arch/s390/include/asm/Kbuild: kvm_types.h
---
Cc: Heiko Carstens <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Cc: Alexander Gordeev <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Sven Schnelle <[email protected]>
Cc: [email protected]
arch/s390/include/asm/Kbuild | 1 - 1 file changed, 1 deletion(-)
arch/s390/include/asm/Kbuild +0 -1
@@ -5,6 +5,5 @@ generated-y += syscall_table.h generated-y += unistd_nr.h generic-y += asm-offsets.h -generic-y += kvm_types.h generic-y += mcs_spinlock.h generic-y += mmzone.h
Heiko Carstens
maintainerQuoted 14 lines · Randy Dunlap
kvm_types.his mandatory ininclude/asm-generic/Kbuildso having it in anotherKbuildfile causes a warning. Remove it from thearch/Kbuildfile to fix the warning.../scripts/Makefile.asm-headers:39: redundant generic-y found in ../arch/s390/include/asm/Kbuild:
kvm_types.hSigned-off-by Randy Dunlap <[email protected]>--- arch/s390/include/asm/Kbuild | 1 - 1 file changed, 1 deletion(-)
arch/s390/include/asm/Kbuild generated-y += syscall_table.h · line 9
Quoted 6 lines
arch/s390/include/asm/Kbuild +0
-1@@ -5,6 +5,5 @@ generated-y += syscall_table.h generated-y += unistd_nr.h generic-y += asm-offsets.h -generic-y += kvm_types.h generic-y += mcs_spinlock.h generic-y += mmzone.h
This should go via perf/core from the tip tree, since Peter's not-yet upstream commit 01122b89361e ("perf: Use EXPORT_SYMBOL_FOR_KVM() for the mediated APIs") adds the mandatory-y statement to include/asm-generic/Kbuild.
Peter?
Quoted 26 lines · Heiko Carstens
Quoted 14 lines · Randy Dunlap
kvm_types.his mandatory ininclude/asm-generic/Kbuildso having it in anotherKbuildfile causes a warning. Remove it from thearch/Kbuildfile to fix the warning.../scripts/Makefile.asm-headers:39: redundant generic-y found in ../arch/s390/include/asm/Kbuild:
kvm_types.hSigned-off-by Randy Dunlap <[email protected]>--- arch/s390/include/asm/Kbuild | 1 - 1 file changed, 1 deletion(-)arch/s390/include/asm/Kbuild generated-y += syscall_table.h · line 9
Quoted 6 lines
arch/s390/include/asm/Kbuild +0
-1@@ -5,6 +5,5 @@ generated-y += syscall_table.h generated-y += unistd_nr.h generic-y += asm-offsets.h -generic-y += kvm_types.h generic-y += mcs_spinlock.h generic-y += mmzone.hThis should go via perf/core from the tip tree, since Peter's not-yet upstream commit
01122b89361e("perf: UseEXPORT_SYMBOL_FOR_KVM()for the mediated APIs") adds the mandatory-y statement toinclude/asm-generic/Kbuild.
Quoted 1 line
Peter?
Let me see if I can manage to apply a patch I don't have ;-)
The following commit has been merged into the perf/core branch of tip:
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 7db06e329af30dcb170a6782c1714217ad65033d Gitweb: https://git.kernel.org/tip/7db06e329af30dcb170a6782c1714217ad65033d Author: Randy Dunlap <[email protected]> AuthorDate: Tue, 03 Feb 2026 10:42:04 -08:00 Committer: Peter Zijlstra <[email protected]> CommitterDate: Thu, 05 Feb 2026 09:43:47 +01:00
s390: remove kvm_types.h from Kbuild
kvm_types.h is mandatory in include/asm-generic/Kbuild so having it in another Kbuild file causes a warning. Remove it from the arch/ Kbuild file to fix the warning.
../scripts/Makefile.asm-headers:39: redundant generic-y found in ../arch/s390/include/asm/Kbuild: kvm_types.h
--- arch/s390/include/asm/Kbuild | 1 - 1 file changed, 1 deletion(-)
arch/s390/include/asm/Kbuild +0 -1
@@ -5,6 +5,5 @@ generated-y += syscall_table.h generated-y += unistd_nr.h generic-y += asm-offsets.h -generic-y += kvm_types.h generic-y += mcs_spinlock.h generic-y += mmzone.h