Message ID | 20090507205536.645873463@amt.cnet (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: kvm-kmod/external-module-compat-comm.h =================================================================== --- kvm-kmod.orig/external-module-compat-comm.h +++ kvm-kmod/external-module-compat-comm.h @@ -116,6 +116,10 @@ int kvm_smp_call_function_single(int cpu #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) +#define nr_cpu_ids NR_CPUS +#endif + #include <linux/miscdevice.h> #ifndef KVM_MINOR #define KVM_MINOR 232
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html