patch-2.4.0-test8 linux/arch/sparc/kernel/sun4m_smp.c

Next file: linux/arch/sparc/kernel/sunos_ioctl.c
Previous file: linux/arch/sparc/kernel/sun4d_smp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test7/linux/arch/sparc/kernel/sun4m_smp.c linux/arch/sparc/kernel/sun4m_smp.c
@@ -405,6 +405,9 @@
 			}
 		}
 
+		/* First, run local copy. */
+		func(arg1, arg2, arg3, arg4, arg5);  
+
 		{
 			register int i;
 
@@ -422,6 +425,8 @@
 		}
 
 		spin_unlock_irqrestore(&cross_call_lock, flags);
+	} else {
+		func(arg1, arg2, arg3, arg4, arg5); /* Just need to run local copy. */
 	}
 }
 

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