1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 20:58:25 +02:00

[kernel] fix usage of smp_call_function

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17770 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-09-27 19:47:07 +00:00
parent d142ae4a05
commit 359f44b80e

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