X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fppc%2Fkernel%2Fsmp.c;h=bcab0d210e308cefa1ae0940be0362f3060c149c;hb=7e2225d860772aaa07e1cebca6a5aa6f93f9aa91;hp=f77795a64daed9628c50b5885831377954c8006e;hpb=683aa4012f53b2ada0f430487e05d37b0d94e90a;p=linux-2.6 diff --git a/arch/ppc/kernel/smp.c b/arch/ppc/kernel/smp.c index f77795a64d..bcab0d210e 100644 --- a/arch/ppc/kernel/smp.c +++ b/arch/ppc/kernel/smp.c @@ -8,12 +8,10 @@ * */ -#include #include #include #include #include -#include #include #include #include @@ -85,7 +83,7 @@ smp_message_pass(int target, int msg) /* * Common functions */ -void smp_message_recv(int msg, struct pt_regs *regs) +void smp_message_recv(int msg) { atomic_inc(&ipi_recv); @@ -101,7 +99,7 @@ void smp_message_recv(int msg, struct pt_regs *regs) break; #ifdef CONFIG_XMON case PPC_MSG_XMON_BREAK: - xmon(regs); + xmon(get_irq_regs()); break; #endif /* CONFIG_XMON */ default: @@ -154,7 +152,7 @@ static void stop_this_cpu(void *dummy) void smp_send_stop(void) { - smp_call_function(stop_this_cpu, NULL, 1, 0); + smp_call_function(stop_this_cpu, NULL, 0); } /*