Re: [PATCH] Fix early request_irq

Pantelis Antoniou
2004-10-29T14:25:46Z

Ingo Molnar wrote:

>* Pantelis Antoniou <panto@intracom.gr> 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 quite broken. Those places should use setup_irq(),
>not request_irq().
>
> Ingo
>
>
>
>
Sorry, didn't know about setup_irq.

Will fix.

Regards