Re: [PATCH 2/8] Remove NR_CPUS from asm-generic/percpu.h

From: Ingo Molnar
Date: Tue Mar 06 2007 - 08:22:32 EST



* Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:

> I managed to get an error about NR_CPUS undefined after a make
> allyesconfig. Admittedly this was a patched kernel, but it's easy to
> remove it and avoid the error in future even if it's OK at the moment.

> -extern unsigned long __per_cpu_offset[NR_CPUS];
> +extern unsigned long __per_cpu_offset[];

i'd much rather have us fix that include file dependency problem than to
work it around by hiding the true dimension of the __per_cpu_offset
array

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/