public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux 2.5.23 cpu_online_map undeclared
@ 2002-06-19  3:14 John Weber
  2002-06-19  5:36 ` Linus Torvalds
  0 siblings, 1 reply; 4+ messages in thread
From: John Weber @ 2002-06-19  3:14 UTC (permalink / raw)
  To: linux-kernel

I am running on a UP system, so I don't believe that cpu_online_map 
should be declared.  Any suggestions?

   gcc -Wp,-MD,./.sched.o.d -D__KERNEL__ -I/usr/src/linux-2.5.23/include 
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
-march=i686 -nostdinc -iwithprefix include    -fno-omit-frame-pointer 
-DKBUILD_BASENAME=sched   -c -o sched.o sched.c
sched.c: In function `sys_sched_setaffinity':
sched.c:1332: `cpu_online_map' undeclared (first use in this function)
sched.c:1332: (Each undeclared identifier is reported only once
sched.c:1332: for each function it appears in.)
sched.c: In function `sys_sched_getaffinity':
sched.c:1391: `cpu_online_map' undeclared (first use in this function)
make[1]: *** [sched.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.23/kernel'
make: *** [kernel] Error 2


  -o)  J o h n   W e b e r
  /\\ john.weber@linuxhq.com
_\/v http://www.linuxhq.com/people/weber/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-20 22:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-19  3:14 Linux 2.5.23 cpu_online_map undeclared John Weber
2002-06-19  5:36 ` Linus Torvalds
2002-06-19  6:38   ` Ingo Molnar
2002-06-20 22:59   ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox