acpi: remove final __acpi_map_table mapping before setting acpi_gbl_permanent_mmap
authorJeremy Fitzhardinge <jeremy@goop.org>
Sat, 7 Feb 2009 23:39:40 +0000 (15:39 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 9 Feb 2009 12:34:46 +0000 (13:34 +0100)
commit05876f88ed9a66b26af613e222795ae790616252
tree1f2c5be1c98eb2ea668410fa90b2f28156e479f6
parenteecb9a697f0b790e5840dae8a8b866bea49a86ee
acpi: remove final __acpi_map_table mapping before setting acpi_gbl_permanent_mmap

On x86, __acpi_map_table uses early_ioremap() to create the mapping,
replacing the previous mapping with a new one.  Once enough of the
kernel is up an running it switches to using normal ioremap().  At
that point, we need to clean up the final mapping to avoid a warning
from the early_ioremap subsystem.

This can be removed after all the instances in the ACPI code are fixed
that rely on early-ioremap's implicit overmapping of previously
mapped tables.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/acpi/boot.c
drivers/acpi/bus.c