From: Jan Kiszka <[email protected]> This redundancy breaks subtly when building against recent OpenSUSE kernels. Somehow scripts/basic/hash gets called with multiple modname arguments, causing it to fail and produce invalid output.
Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Avi Kivity <[email protected]> diff --git a/external-module-compat.c b/external-module-compat.c index f6013f3..6b69127 100644 --- a/external-module-compat.c +++ b/external-module-compat.c @@ -46,6 +46,7 @@ int kvm_smp_call_function_single(int cpu, void (*func)(void *info), put_cpu(); return r; } +EXPORT_SYMBOL_GPL(kvm_smp_call_function_single); #define smp_call_function_single kvm_smp_call_function_single @@ -75,6 +76,7 @@ int kvm_smp_call_function_single(int cpu, void (*func)(void *info), put_cpu(); return r; } +EXPORT_SYMBOL_GPL(kvm_smp_call_function_single); #define smp_call_function_single kvm_smp_call_function_single @@ -104,6 +106,7 @@ int kvm_smp_call_function_single(int cpu, void (*func)(void *info), } #endif /* !CONFIG_SMP */ +EXPORT_SYMBOL_GPL(kvm_smp_call_function_single); #define smp_call_function_single kvm_smp_call_function_single 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 CFLAGS_kvm_main.o = -DKVM_MAIN -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
