Thread (3 messages) 3 messages, 2 authors, 2003-08-10

Re: 2.6.0-test3-bk1 -- include/asm/smp.h:61: error: `NR_CPUS' undeclared (first use in this function)

From: Christoph Hellwig <hch@lst.de>
Date: 2003-08-10 19:09:54

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help