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>
Showing
- arch/arm64/include/asm/processor.h 0 additions, 4 deletionsarch/arm64/include/asm/processor.h
- arch/arm64/kernel/cpu_errata.c 6 additions, 0 deletionsarch/arm64/kernel/cpu_errata.c
- arch/arm64/kernel/cpufeature.c 22 additions, 6 deletionsarch/arm64/kernel/cpufeature.c
- arch/arm64/kernel/traps.c 0 additions, 5 deletionsarch/arm64/kernel/traps.c
- arch/arm64/mm/fault.c 0 additions, 14 deletionsarch/arm64/mm/fault.c
Please register or sign in to comment