Re: [PATCH] Fix early request_irq
From: Ingo Molnar
Date: Fri Oct 29 2004 - 09:25:06 EST
* Pantelis Antoniou <panto@xxxxxxxxxxx> 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
-
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/