Skip to content
Commit 7bbb8903 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

ACPI: Change acpi_ioremap_lock into a mutex



There's no reason why acpi_ioremap_lock has to be a spinlock,
because all of the functions it is used in may sleep anyway and
there's no reason why it should be locked with interrupts off.
Use a mutex instead (that's going to allow us to put some more
operations under the lock later).

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 073b4964
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment