Jan Kiszka wrote:
This redundancy breaks subtly when building against recent OpenSUSE kernels. Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> --- x86/Kbuild | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x86/Kbuild b/x86/Kbuild index e304c79..ade87fc 100644 --- a/x86/Kbuild +++ b/x86/Kbuild @@ -13,7 +13,7 @@ endif ifeq ($(CONFIG_IOMMU_API),y) kvm-objs += iommu.o endif -kvm-intel-objs := vmx.o vmx-debug.o ../external-module-compat.o -kvm-amd-objs := svm.o ../external-module-compat.o +kvm-intel-objs := vmx.o vmx-debug.o +kvm-amd-objs := svm.o
IIRC, for really old kernels, some symbols are defined in external-module-compat.c and needed by kvm-$arch.ko. So we'll have to export those symbols if we drop the double link (which is a good idea regardless of the build problem).
-- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html