[kernel] fix usage of smp_call_function

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17770 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Florian Fainelli 2009-09-27 19:47:07 +00:00
parent dbb45a7488
commit bbffdec849
1 changed files with 1 additions and 1 deletions

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 */
+
+ smp_call_function (crash_shutdown_secondary, NULL, 0, 0);
+ smp_call_function (crash_shutdown_secondary, NULL, 0);
+ smp_wmb();
+
+ /*