Re: New consolidate irqs vs . probe_irq_*()

From: Ingo Molnar
Date: Wed Oct 20 2004 - 04:26:50 EST



* Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:

> Do you have any objection if I send a patch making the whole
> probe_irq_* stuff optional on a CONFIG_ option ? (turning it into nops
> like we used to have on ppc until now, if the option isn't set).
>
> I really don't want to mess with that racy mecanism that makes sense
> for ISA only afaik, and it seems some drivers are trying to use it now
> that it's there (/me looks toward yenta_socket) and I'm afraid of the
> consequences since I cannot see how that thing can work properly in
> the first place ;)

yeah. I've put it into a separate autoprobe.c file specifically for that
reason, you can exclude it in the Makefile and can provide your own
architecture version. Or should we make the no-autoprobing choice
generic perhaps?

Ingo
-
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/