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.
Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> diff -r 4519e3475c4f include/asm-generic/percpu.h --- a/include/asm-generic/percpu.h Mon Mar 05 12:17:10 2007 +1100 +++ b/include/asm-generic/percpu.h Mon Mar 05 16:14:05 2007 +1100 @@ -5,7 +5,7 @@ #define __GENERIC_PER_CPU #ifdef CONFIG_SMP -extern unsigned long __per_cpu_offset[NR_CPUS]; +extern unsigned long __per_cpu_offset[]; #define per_cpu_offset(x) (__per_cpu_offset[x]) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/