Re: [PATCH] Fix early request_irq

Christoph Hellwig
2004-10-29T14:29:31Z

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.