ACPI: Change acpi_ioremap_lock into a mutex
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 8 Feb 2011 22:37:42 +0000 (23:37 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 24 Feb 2011 18:58:41 +0000 (19:58 +0100)
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: Rafael J. Wysocki <rjw@sisk.pl>
drivers/acpi/osl.c

Simple merge