Re: kgdb: fix kgdbeth compilation and make it init late enough

Tom Rini
2004-03-02T22:45:04Z

On Tue, Mar 02, 2004 at 11:28:27PM +0100, Pavel Machek wrote:

> Hi!
>
> > > CONFIG_NO_KGDB_CPUS can not be found anywhere in the patches => its
> > > probably not needd any more.
> >
> > I don't know if we can do that. There's some funky locking stuff done
> > on SMP, which for some reason can't be done to NR_CPUS (or, no one has
> > tried doing that).
>
> There was no CONFIG_NO_KGDB_CPUS anywhere else in the CVS, that means
> that test could not have been right.

That doesn't mean the right answer is to remove it. However, after
talking with George (who might speak up now anyhow) for 2.6 we can just
do the SMP locking stuff at NR_CPUS, since that's configurable.

--
Tom Rini