fix usage of smp_call_function

SVN-Revision: 17770
This commit is contained in:
Florian Fainelli 2009-09-27 19:47:07 +00:00
parent 9c65cbf386
commit 7f910f72ba

View file

@ -180,7 +180,7 @@ Index: linux-2.6.30.7/arch/mips/kernel/crash.c
+ +
+ unsigned int ncpus = num_online_cpus() - 1;/* Excluding the panic cpu */ + unsigned int ncpus = num_online_cpus() - 1;/* Excluding the panic cpu */
+ +
+ smp_call_function (crash_shutdown_secondary, NULL, 0, 0); + smp_call_function (crash_shutdown_secondary, NULL, 0);
+ smp_wmb(); + smp_wmb();
+ +
+ /* + /*