diff options
| author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-02-09 01:37:53 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-02-24 21:58:41 +0300 |
| commit | 7fe135dc058faea0ce319a03e3b6f98c5049955c (patch) | |
| tree | ecd7f70c02bb15ff36749f9db4d8c9d14af4f623 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 7bbb890358b96cb6f77adc6815f2072bdf813d5d (diff) | |
| download | linux-7fe135dc058faea0ce319a03e3b6f98c5049955c.tar.xz | |
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 <rjw@sisk.pl>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
