]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: OSL: Use deferred unmapping in acpi_os_unmap_iomem()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Jul 2020 12:13:46 +0000 (14:13 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Jul 2020 10:29:59 +0000 (12:29 +0200)
commit28907675d3267b3889cd0ffca5142c42b1c632dd
tree5401859f57dcebb46d90bf618538a21e3d43b2aa
parentdd3bf3a2f0d1028f42f8ed5e0d7fb07e037bffcc
ACPI: OSL: Use deferred unmapping in acpi_os_unmap_iomem()

There is no reason (knwon to me) why any of the existing users of
acpi_os_unmap_iomem() would need to wait for the unused memory
mappings left by it to actually go away, so use the deferred
unmapping of ACPI memory introduced previously in that function.

While at it, fold __acpi_os_unmap_iomem() back into
acpi_os_unmap_iomem(), which has become a simple wrapper around it,
and make acpi_os_unmap_memory() call the latter.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/osl.c