non SMP nr_cpu_ids must be one. !SMP means that we have one processors. Which means that we also have one processor id. Signed-off-by: Christoph Lameter Index: current/include/linux/cpumask.h =================================================================== --- current.orig/include/linux/cpumask.h 2007-01-31 11:52:56.000000000 -0800 +++ current/include/linux/cpumask.h 2007-01-31 11:53:15.000000000 -0800 @@ -402,7 +402,7 @@ extern int nr_cpu_ids; #define any_online_cpu(mask) __any_online_cpu(&(mask)) int __any_online_cpu(const cpumask_t *mask); #else -#define nr_cpu_ids 0 +#define nr_cpu_ids 1 #define any_online_cpu(mask) 0 #endif