Re: PCI PM: Restore standard config registers of all devices early

Peter Zijlstra
2009-02-03T11:07:28Z

On Tue, 2009-02-03 at 06:06 +0100, Ingo Molnar wrote:
>
> Mutexes should work just fine in irqs-off sections - they'll safely
> save/restore interrupts, even the debug variants.

mutex_lock() has might_sleep() which will generate a splat in atomic
contexts.

That said, afaik the acpi code uses semaphores.