On Sun, Aug 10, 2003 at 11:42:16AM -0700, Miles Lane wrote:
CC kernel/timer.o
In file included from include/linux/smp.h:17,
from include/linux/kernel_stat.h:6,
from kernel/timer.c:22:
include/asm/smp.h: In function `any_online_cpu':
include/asm/smp.h:61: error: `NR_CPUS' undeclared (first use in this function)
include/asm/smp.h:61: error: (Each undeclared identifier is reported only once
include/asm/smp.h:61: error: for each function it appears in.)
make[1]: *** [kernel/timer.o] Error 1
I had that for a while now. Including <linux/threads.h> in <asm/smp.h>
fixes it.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/