diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2016-02-23 05:31:41 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-02-24 12:17:45 -0500 |
commit | fce6361fe9b0caeba0c05b7d72ceda406f8780df (patch) | |
tree | d04466352864b3f0f8f3c98e003ce0ae8986ecae /arch/arm64/include | |
parent | ee02a15919cf86c004142edaa05b43f7ff10edf0 (diff) |
arm64: Move cpu_die_early to smp.c
This patch moves cpu_die_early to smp.c, where it fits better.
No functional changes, except for adding the necessary checks
for CONFIG_HOTPLUG_CPU.
Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/smp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/smp.h b/arch/arm64/include/asm/smp.h index b93eb3303131..51913be35a0a 100644 --- a/arch/arm64/include/asm/smp.h +++ b/arch/arm64/include/asm/smp.h | |||
@@ -77,6 +77,7 @@ extern int __cpu_disable(void); | |||
77 | 77 | ||
78 | extern void __cpu_die(unsigned int cpu); | 78 | extern void __cpu_die(unsigned int cpu); |
79 | extern void cpu_die(void); | 79 | extern void cpu_die(void); |
80 | extern void cpu_die_early(void); | ||
80 | 81 | ||
81 | static inline void cpu_park_loop(void) | 82 | static inline void cpu_park_loop(void) |
82 | { | 83 | { |