diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-20 08:42:52 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-20 08:42:52 +0100 |
commit | fbb82b03653cdb7fd1863b911e7540011259d2ce (patch) | |
tree | d5920f46068bb184a5322bc1505fb030adb6bfb6 /arch/sh/kernel/smp.c | |
parent | sh: Make 29/32-bit mode check helper generally available. (diff) | |
download | linux-fbb82b03653cdb7fd1863b911e7540011259d2ce.tar.xz linux-fbb82b03653cdb7fd1863b911e7540011259d2ce.zip |
sh: machine_ops based reboot support.
This provides a machine_ops-based reboot interface loosely cloned from
x86, and converts the native sh32 and sh64 cases over to it.
Necessary both for tying in SMP support and also enabling platforms like
SDK7786 to add support for their microcontroller-based power managers.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to '')
-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) plat_send_ipi(cpu, SMP_MSG_RESCHEDULE); } -static void stop_this_cpu(void *unused) -{ - cpu_clear(smp_processor_id(), cpu_online_map); - local_irq_disable(); - - for (;;) - cpu_relax(); -} - void smp_send_stop(void) { smp_call_function(stop_this_cpu, 0, 0); |