Re: [PATCH] Fix early request_irq

From: Christoph Hellwig
Date: Fri Oct 29 2004 - 09:32:42 EST


On Fri, Oct 29, 2004 at 05:05:09PM +0300, Pantelis Antoniou wrote:
> Hi there
>
> The recent consolidation of the IRQ code has caused
> a number of PPC embedded cpus to stop working.
>
> The problem is that on init_IRQ these platforms call
> request_irq very early, which in turn calls kmalloc
> without the memory subsystem being initialized.
>
> The following patch fixes it by keeping a small static
> array of irqactions just for this purpose.

This is bogus. Switch them to use setup_irq instead like
I did for pmac.

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