Messages in this thread | | | Date | Tue, 6 Mar 2007 14:21:38 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 2/8] Remove NR_CPUS from asm-generic/percpu.h |
| |
* Rusty Russell <rusty@rustcorp.com.au> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |