aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-hisi/hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-hisi/hotplug.c')
-rw-r--r--arch/arm/mach-hisi/hotplug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-hisi/hotplug.c b/arch/arm/mach-hisi/hotplug.c
index b909854eee7f..abd441b0c604 100644
--- a/arch/arm/mach-hisi/hotplug.c
+++ b/arch/arm/mach-hisi/hotplug.c
@@ -178,6 +178,7 @@ static inline void cpu_enter_lowpower(void)
178 : "cc"); 178 : "cc");
179} 179}
180 180
181#ifdef CONFIG_HOTPLUG_CPU
181void hi3xxx_cpu_die(unsigned int cpu) 182void hi3xxx_cpu_die(unsigned int cpu)
182{ 183{
183 cpu_enter_lowpower(); 184 cpu_enter_lowpower();
@@ -198,3 +199,4 @@ int hi3xxx_cpu_kill(unsigned int cpu)
198 hi3xxx_set_cpu(cpu, false); 199 hi3xxx_set_cpu(cpu, false);
199 return 1; 200 return 1;
200} 201}
202#endif