diff options
author | Pasha Tatashin <pasha.tatashin@soleen.com> | 2021-09-30 17:31:12 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-10-01 15:31:00 +0300 |
commit | 7a2512fa649397c68127a480ef8fdd9dcf323045 (patch) | |
tree | 1ef11c8acb1f6bc2955eadcf15da6d0981d8d2bc /arch/arm64/include/asm/kexec.h | |
parent | 939f1b9564c6aa2bd0f4e4e336ac74379692c38b (diff) | |
download | linux-7a2512fa649397c68127a480ef8fdd9dcf323045.tar.xz |
arm64: kexec: remove cpu-reset.h
This header contains only cpu_soft_restart() which is never used directly
anymore. So, remove this header, and rename the helper to be
cpu_soft_restart().
Suggested-by: James Morse <james.morse@arm.com>
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210930143113.1502553-15-pasha.tatashin@soleen.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/kexec.h')
-rw-r--r-- | arch/arm64/include/asm/kexec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kexec.h b/arch/arm64/include/asm/kexec.h index dca6dedc3b25..9839bfc163d7 100644 --- a/arch/arm64/include/asm/kexec.h +++ b/arch/arm64/include/asm/kexec.h @@ -90,6 +90,12 @@ static inline void crash_prepare_suspend(void) {} static inline void crash_post_resume(void) {} #endif +#if defined(CONFIG_KEXEC_CORE) +void cpu_soft_restart(unsigned long el2_switch, unsigned long entry, + unsigned long arg0, unsigned long arg1, + unsigned long arg2); +#endif + #define ARCH_HAS_KIMAGE_ARCH struct kimage_arch { |