fix usage of smp_call_function

SVN-Revision: 17770
master
Florian Fainelli 16 years ago
parent 9c65cbf386
commit 7f910f72ba
  1. 2
      target/linux/generic-2.6/patches-2.6.30/029-mips_kexec.patch

@ -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();
+ +
+ /* + /*

Loading…
Cancel
Save