summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2019-10-28 16:45:07 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2019-10-28 16:46:43 +0000
commit4686da5140c18c84ca01a8ab994571d832c63398 (patch)
tree872b618e48b0a1ca7b2777ab41fa73fbbb3f624c /arch
parent4399d430700d3974ed6c5a1b1380bc6527f17e99 (diff)
arm64: Make arm64_dma32_phys_limit static
This variable is only used in the arch/arm64/mm/init.c file for ZONE_DMA32 initialisation, no need to expose it. Reported-by: Will Deacon <will@kernel.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c
index 71b45c58218b..39fc69873b18 100644
--- a/arch/arm64/mm/init.c
+++ b/arch/arm64/mm/init.c
@@ -63,7 +63,7 @@ EXPORT_SYMBOL(vmemmap);
* bit addressable memory area.
*/
phys_addr_t arm64_dma_phys_limit __ro_after_init;
-phys_addr_t arm64_dma32_phys_limit __ro_after_init;
+static phys_addr_t arm64_dma32_phys_limit __ro_after_init;
#ifdef CONFIG_KEXEC_CORE
/*