ACPI: Use early_memremap() instead of early_ioremap()
PATCH 1/1 ACPI: Use early_memremap() instead of early_ioremap()
From: Zhang Yanfei <[email protected]>
The mapping of acpi_tables_addr is obviously ordinary memory, so use early_memremap() rather than early_iormeap().
Signed-off-by Zhang Yanfei <[email protected]>
--- drivers/acpi/osl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/acpi/osl.c +1 -1
@@ -644,7 +644,7 @@ void __init acpi_initrd_override(void *data, size_t size)memblock_reserve (acpi_tables_addr, all_tables_size);arch_reserve_mem_area (acpi_tables_addr, all_tables_size); - p =early_ioremap (acpi_tables_addr, all_tables_size); + p =early_memremap (acpi_tables_addr, all_tables_size);for (no =0 ; no < table_nr; no++) { memcpy(p + total_offset, early_initrd_files[no].data,
Signature · 1 line
1.7.1