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

From: Tom Rini
Date: Tue Mar 02 2004 - 10:35:13 EST


On Tue, Mar 02, 2004 at 12:25:00PM +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).

> init_kgdboe can't be module_initcall; in
> such cases it initializes after tg3 network card (and that's bad).

Ah, that's an even better fix than trying to enforce link order.

> Okay to commit?

Second half, yes.

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/