diff options
Diffstat (limited to 'arch/sh/kernel/smp.c')
-rw-r--r-- | arch/sh/kernel/smp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 983e0792d5f3..e124cf7008df 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c | |||
@@ -161,15 +161,6 @@ void smp_send_reschedule(int cpu) | |||
161 | plat_send_ipi(cpu, SMP_MSG_RESCHEDULE); | 161 | plat_send_ipi(cpu, SMP_MSG_RESCHEDULE); |
162 | } | 162 | } |
163 | 163 | ||
164 | static void stop_this_cpu(void *unused) | ||
165 | { | ||
166 | cpu_clear(smp_processor_id(), cpu_online_map); | ||
167 | local_irq_disable(); | ||
168 | |||
169 | for (;;) | ||
170 | cpu_relax(); | ||
171 | } | ||
172 | |||
173 | void smp_send_stop(void) | 164 | void smp_send_stop(void) |
174 | { | 165 | { |
175 | smp_call_function(stop_this_cpu, 0, 0); | 166 | smp_call_function(stop_this_cpu, 0, 0); |