Update of /cvsroot/linux-vax/kernel-2.4/arch/mips64/kernel
In directory sc8-pr-cvs1:/tmp/cvs-serv7538/arch/mips64/kernel
Modified Files:
smp.c
Log Message:
DA: sync with Marcelo 2.4.17
Index: smp.c
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/arch/mips64/kernel/smp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- smp.c 10 Apr 2002 14:43:20 -0000 1.2
+++ smp.c 10 Jun 2003 01:13:14 -0000 1.3
@@ -5,6 +5,7 @@
#include <linux/time.h>
#include <linux/timex.h>
#include <linux/sched.h>
+#include <linux/cache.h>
#include <asm/atomic.h>
#include <asm/processor.h>
@@ -52,7 +53,7 @@
#endif /* CONFIG_SGI_IP27 */
/* The 'big kernel lock' */
-spinlock_t kernel_flag = SPIN_LOCK_UNLOCKED;
+spinlock_t kernel_flag __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
int smp_threads_ready; /* Not used */
atomic_t smp_commenced = ATOMIC_INIT(0);
struct cpuinfo_mips cpu_data[NR_CPUS];
|