public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.4-pre6 fails to build on UP (sched.c)
@ 2002-02-10 22:44 Alessandro Suardi
  2002-02-10 23:23 ` Robert Love
  0 siblings, 1 reply; 2+ messages in thread
From: Alessandro Suardi @ 2002-02-10 22:44 UTC (permalink / raw)
  To: linux-kernel

gcc -D__KERNEL__ -I/usr/src/linux-2.5.4-pre6/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686   -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c -o sched.o sched.c
sched.c: In function `schedule':
sched.c:664: `global_irq_holder' undeclared (first use in this function)
sched.c:664: (Each undeclared identifier is reported only once
sched.c:664: for each function it appears in.)
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.5.4-pre6/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.4-pre6/kernel'
make: *** [_dir_kernel] Error 2

It appears that global_irq_holder will only be seen from
 <asm/hardirq.h> if CONFIG_SMP is defined. I haven't dug
 deeper to see whether this is due to CONFIG_PREEMPT (to
 which I said 'Y') or not.

--alessandro

 "If your heart is a flame burning brightly
   you'll have light and you'll never be cold
  And soon you will know that you just grow / You're not growing old"
                              (Husker Du, "Flexible Flyer")

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

end of thread, other threads:[~2002-02-10 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-10 22:44 2.5.4-pre6 fails to build on UP (sched.c) Alessandro Suardi
2002-02-10 23:23 ` Robert Love

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