ACPI: Do not use krefs under a mutex in osl.c
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 8 Feb 2011 22:38:15 +0000 (23:38 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 24 Feb 2011 18:58:42 +0000 (19:58 +0100)
commitb7c1fadd6c2eead56d0664a3a921980120de0c11
treeccd0788ca079460db52be43c6f6e0273e300891a
parent7ffd0443f2502478545e23e194b7eb8e16376072
ACPI: Do not use krefs under a mutex in osl.c

The reference counting of ACPI iomaps is carried out entirely under
acpi_ioremap_lock, so it is sufficient to use simple counters instead
of krefs for this purpose.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/acpi/osl.c