Re: 2.4.x and SMP fails to compile (`current' undefined)
Tom Leete (tleete@mountain.net)
Wed, 31 Jan 2001 03:03:51 -0500
David Ford wrote:
>
> Mhm. Is it worth the effort to make a dependancy on the CPU type for SMP?
>
> </idle questions>
>
> -d
>
> Stephen Frost wrote:
>
> > * David Ford (david@linux.com) wrote:
> > > A person just brought up a problem in #kernelnewbies, building an SMP
> > > kernel doesn't work very well, current is undefined. I don't have more
> > > time to debug it but I'll strip the config and put it up at
> > > http://stuph.org/smp-config
> >
> > They're trying to compile SMP for Athlon/K7 (CONFIG_MK7=y).
>
It's not an incompatibility with the k7 chip, just bad code in
include/asm-i386/string.h. in_interrupt() cannot be called from there.
I have posted a patch here many times since last May. Most recent was
Saturday.
Tom
--
The Daemons lurk and are dumb. -- Emerson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/