]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cpu: Move errata and feature enable callbacks closer to callers
authorWill Deacon <will.deacon@arm.com>
Tue, 7 Aug 2018 12:53:41 +0000 (13:53 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 14 Sep 2018 16:46:22 +0000 (17:46 +0100)
commit44fd1f086f0a37d49ab8c1586b96de7e0cc9d35b
tree0f65bfc029abec901e6770e120e85a98a216c5b4
parent3cb61af36fcc391debee8f0b1ec527d9379e7e67
arm64: cpu: Move errata and feature enable callbacks closer to callers

The cpu errata and feature enable callbacks are only called via their
respective arm64_cpu_capabilities structure and therefore shouldn't
exist in the global namespace.

Move the PAN, RAS and cache maintenance emulation enable callbacks into
the same files as their corresponding arm64_cpu_capabilities structures,
making them static in the process.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/processor.h
arch/arm64/kernel/cpu_errata.c
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/traps.c
arch/arm64/mm/fault.c