From: Christoph Lameter !SMP means that we have one processor. Which means that we also have one processor id. Wonder why "any_online_cpu" is 0 but then it has worked so far. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton --- include/linux/cpumask.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/cpumask.h~convert-highest_possible_processor_id-to-nr_cpu_ids-fix include/linux/cpumask.h --- a/include/linux/cpumask.h~convert-highest_possible_processor_id-to-nr_cpu_ids-fix +++ a/include/linux/cpumask.h @@ -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 _