public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: John Weber <john.weber@linuxhq.com>
To: linux-kernel@vger.kernel.org
Subject: Linux 2.5.23 cpu_online_map undeclared
Date: Tue, 18 Jun 2002 23:14:30 -0400	[thread overview]
Message-ID: <3D0FF715.7040601@linuxhq.com> (raw)

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/


             reply	other threads:[~2002-06-19  3:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-19  3:14 John Weber [this message]
2002-06-19  5:36 ` Linux 2.5.23 cpu_online_map undeclared Linus Torvalds
2002-06-19  6:38   ` Ingo Molnar
2002-06-20 22:59   ` Rusty Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D0FF715.7040601@linuxhq.com \
    --to=john.weber@linuxhq.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox