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

ACPI: Make acpi_os_map_memory() avoid creating unnecessary mappings



Modify acpi_os_map_memory() so that it doesn't call acpi_os_ioremap()
unconditionally every time it is executed (except when
acpi_gbl_permanent_mmap is unset), which pretty much defeats the
purpose of maintaining the list of ACPI iomaps in osl.c.

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 7fe135dc
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