On Sun, 17 Nov 2002, Jake Burkholder wrote:

> Apparently, On Sun, Nov 17, 2002 at 12:23:20PM -0800,
>       Julian Elischer said words to the effect of;
> 
> > 
> > 
> > On Sun, 17 Nov 2002, Mike Barcroft wrote:
> > > --------------------------------------------------------------
> > > >>> Kernel build for GENERIC started on Sun Nov 17 20:01:33 GMT 2002
> > > --------------------------------------------------------------
> > > ===> ipfilter
> > > /tinderbox/sparc64/src/sys/kern/kern_thread.c: In function `kse_create':
> > > /tinderbox/sparc64/src/sys/kern/kern_thread.c:498: `mp_ncpus' undeclared (first 
>use in this function)
> > > /tinderbox/sparc64/src/sys/kern/kern_thread.c:498: (Each undeclared identifier 
>is reported only once
> > > /tinderbox/sparc64/src/sys/kern/kern_thread.c:498: for each function it appears 
>in.)
> > 
> > 
> > ok mea culpa..
> > 
> > what is there in SPARC that should be used instead..?
> 
> mp_ncpus is defined in sys/smp.h which is not included kern_thread.c
> I don't see why this builds on any platform.
> 
#if 0  /* while debugging */ 
#ifdef SMP
                        if (kg->kg_kses > mp_ncpus)
#endif
                                return (EPROCLIM);
#endif
(last night)
seems to have changed in the last 12 hours to:
#ifdef SMP
                        if (kg->kg_kses > mp_ncpus)
#endif
                                return (EPROCLIM);


i.e. the #if 0 seems to have disappeared...

I guess that David Xu forgot to include smp.h
in his patch.

> Jake
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to