From: Avi Kivity <a...@redhat.com> nr_cpu_ids was introduced in 2.6.21, not 2.6.28.
Signed-off-by: Avi Kivity <a...@redhat.com> diff --git a/external-module-compat-comm.h b/external-module-compat-comm.h index e1e203c..f6975e0 100644 --- a/external-module-compat-comm.h +++ b/external-module-compat-comm.h @@ -116,7 +116,7 @@ int kvm_smp_call_function_single(int cpu, void (*func)(void *info), #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21) #define nr_cpu_ids NR_CPUS #endif -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html