Re: [PATCH 6/8] cpumask: Optimize cpumask_of_cpu inlib/smp_processor_id.c

From: Ingo Molnar
Date: Fri Jul 18 2008 - 16:34:00 EST



hmmm:

> --- linux-2.6.tip.orig/lib/smp_processor_id.c
> +++ linux-2.6.tip/lib/smp_processor_id.c

> unsigned long preempt_count = preempt_count();
> int this_cpu = raw_smp_processor_id();
> - cpumask_t this_mask;
> + cpumask_of_cpu_ptr_declare(this_mask);

> - this_mask = cpumask_of_cpu(this_cpu);
> + cpumask_of_cpu_ptr_next(this_mask, cpu);

'cpu' is not declared ...

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/