patch-2.4.7 linux/arch/s390/kernel/smp.c

Next file: linux/arch/s390x/kernel/entry.S
Previous file: linux/arch/s390/kernel/reipl.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/arch/s390/kernel/smp.c linux/arch/s390/kernel/smp.c
@@ -420,6 +420,7 @@
 void smp_ptlb_all(void)
 {
         smp_ext_call_others(smp_ptlb_callback, NULL, 1);
+	local_flush_tlb();
 }
 
 /*
@@ -522,8 +523,7 @@
  */
 {
         if (atomic_read(&smp_commenced) != 0)
-                smp_ext_call_others(func, info, 1);
-        (func)(info);
+                smp_ext_call_others(func, info, wait);
         return 0;
 }
 
@@ -776,3 +776,4 @@
 EXPORT_SYMBOL(kernel_flag);
 EXPORT_SYMBOL(smp_ctl_set_bit);
 EXPORT_SYMBOL(smp_ctl_clear_bit);
+EXPORT_SYMBOL(smp_num_cpus);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)