aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2022-07-25 10:56:23 +0100
committerWill Deacon <will@kernel.org>2022-07-25 10:56:23 +0100
commit84d8857af43a9d4289c53955f4d221ebda548b97 (patch)
tree519114c6a4f8f36bf571cda6ad5eab798259aece /arch/arm64/kernel
parentMerge branch 'for-next/extable' into for-next/core (diff)
parentarm64: Add HAVE_IOREMAP_PROT support (diff)
downloadlinux-dev-84d8857af43a9d4289c53955f4d221ebda548b97.tar.xz
linux-dev-84d8857af43a9d4289c53955f4d221ebda548b97.zip
Merge branch 'for-next/ioremap' into for-next/core
* for-next/ioremap: arm64: Add HAVE_IOREMAP_PROT support arm64: mm: Convert to GENERIC_IOREMAP mm: ioremap: Add ioremap/iounmap_allowed() mm: ioremap: Setup phys_addr of struct vm_struct mm: ioremap: Use more sensible name in ioremap_prot() ARM: mm: kill unused runtime hook arch_iounmap()
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r--arch/arm64/kernel/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c
index e4dea8db6924..a5a256e3f9fe 100644
--- a/arch/arm64/kernel/acpi.c
+++ b/arch/arm64/kernel/acpi.c
@@ -351,7 +351,7 @@ void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size)
prot = __acpi_get_writethrough_mem_attribute();
}
}
- return __ioremap(phys, size, prot);
+ return ioremap_prot(phys, size, pgprot_val(prot));
}
/*