Re: Am I allowed to call request_firmware_nowait from an interrupt handler?

From: Andi Kleen
Date: Mon Apr 20 2009 - 09:08:38 EST


On Mon, Apr 20, 2009 at 03:00:48PM +0200, John Hughes wrote:
> Andi Kleen wrote:
> >John Hughes <john@xxxxxxxxx> writes:
> >
> >>Am I being a naughty boy?
> >>
> >
> >Yes.
> >
> >
> Buggeration. What an irritating restriction.
>
> So I'll have to make a thread to do the firmware download, in which case
> I can just use request_firmware instead of request_firmware_nowait.
>
> Or can I use schedule_work?

That's what it is for yes.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/