From: Rafael J. Wysocki Date: Tue, 8 Feb 2011 22:37:53 +0000 (+0100) Subject: ACPI: Avoid walking the list of memory mappings in osl.c twice in a row X-Git-Tag: v2.6.39-rc1~90^2~11^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fe135dc058faea0ce319a03e3b6f98c5049955c;p=pandora-kernel.git ACPI: Avoid walking the list of memory mappings in osl.c twice in a row Make acpi_os_unmap_generic_address() use acpi_map_lookup() to find the desired iomap and drop the reference to it directly (and eventually remove it if necessary) instead of calling acpi_os_unmap_memory(), which requires us to walk the list of ACPI iomaps twice in a row (first, to get the virtual address associated with the iomap and second, to get the iomap itself). Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed