diff options
| -rw-r--r-- | arch/arm/kernel/smp.c | 6 | ||||
| -rw-r--r-- | arch/arm/kernel/smp_twd.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 9d015ee5747a..57162af53dc9 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
| @@ -154,7 +154,7 @@ int __cpuinit __cpu_up(unsigned int cpu) | |||
| 154 | /* | 154 | /* |
| 155 | * __cpu_disable runs on the processor to be shutdown. | 155 | * __cpu_disable runs on the processor to be shutdown. |
| 156 | */ | 156 | */ |
| 157 | int __cpuexit __cpu_disable(void) | 157 | int __cpu_disable(void) |
| 158 | { | 158 | { |
| 159 | unsigned int cpu = smp_processor_id(); | 159 | unsigned int cpu = smp_processor_id(); |
| 160 | struct task_struct *p; | 160 | struct task_struct *p; |
| @@ -201,7 +201,7 @@ int __cpuexit __cpu_disable(void) | |||
| 201 | * called on the thread which is asking for a CPU to be shutdown - | 201 | * called on the thread which is asking for a CPU to be shutdown - |
| 202 | * waits until shutdown has completed, or it is timed out. | 202 | * waits until shutdown has completed, or it is timed out. |
| 203 | */ | 203 | */ |
| 204 | void __cpuexit __cpu_die(unsigned int cpu) | 204 | void __cpu_die(unsigned int cpu) |
| 205 | { | 205 | { |
| 206 | if (!platform_cpu_kill(cpu)) | 206 | if (!platform_cpu_kill(cpu)) |
| 207 | printk("CPU%u: unable to kill\n", cpu); | 207 | printk("CPU%u: unable to kill\n", cpu); |
| @@ -215,7 +215,7 @@ void __cpuexit __cpu_die(unsigned int cpu) | |||
| 215 | * of the other hotplug-cpu capable cores, so presumably coming | 215 | * of the other hotplug-cpu capable cores, so presumably coming |
| 216 | * out of idle fixes this. | 216 | * out of idle fixes this. |
| 217 | */ | 217 | */ |
| 218 | void __cpuexit cpu_die(void) | 218 | void __ref cpu_die(void) |
| 219 | { | 219 | { |
| 220 | unsigned int cpu = smp_processor_id(); | 220 | unsigned int cpu = smp_processor_id(); |
| 221 | 221 | ||
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c index d8c88c633c6f..a73a34dccf2a 100644 --- a/arch/arm/kernel/smp_twd.c +++ b/arch/arm/kernel/smp_twd.c | |||
| @@ -166,10 +166,12 @@ void __cpuinit twd_timer_setup(struct clock_event_device *clk) | |||
| 166 | clockevents_register_device(clk); | 166 | clockevents_register_device(clk); |
| 167 | } | 167 | } |
| 168 | 168 | ||
| 169 | #ifdef CONFIG_HOTPLUG_CPU | ||
| 169 | /* | 170 | /* |
| 170 | * take a local timer down | 171 | * take a local timer down |
| 171 | */ | 172 | */ |
| 172 | void __cpuexit twd_timer_stop(void) | 173 | void twd_timer_stop(void) |
| 173 | { | 174 | { |
| 174 | __raw_writel(0, twd_base + TWD_TIMER_CONTROL); | 175 | __raw_writel(0, twd_base + TWD_TIMER_CONTROL); |
| 175 | } | 176 | } |
| 177 | #endif | ||
