|
@@ -336,11 +336,11 @@ acpi_map_lookup_virt(void __iomem *virt, acpi_size size)
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifndef CONFIG_IA64
|
|
|
|
-#define should_use_kmap(pfn) page_is_ram(pfn)
|
|
|
|
-#else
|
|
|
|
|
|
+#if defined(CONFIG_IA64) || defined(CONFIG_ARM64)
|
|
/* ioremap will take care of cache attributes */
|
|
/* ioremap will take care of cache attributes */
|
|
#define should_use_kmap(pfn) 0
|
|
#define should_use_kmap(pfn) 0
|
|
|
|
+#else
|
|
|
|
+#define should_use_kmap(pfn) page_is_ram(pfn)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
static void __iomem *acpi_map(acpi_physical_address pg_off, unsigned long pg_sz)
|
|
static void __iomem *acpi_map(acpi_physical_address pg_off, unsigned long pg_sz)
|