Update of /cvsroot/linux-vax/kernel-2.4/arch/s390/kernel
In directory sc8-pr-cvs1:/tmp/cvs-serv7538/arch/s390/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/s390/kernel/smp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- smp.c 9 Apr 2002 17:03:17 -0000 1.2
+++ smp.c 10 Jun 2003 01:13:15 -0000 1.3
@@ -29,6 +29,7 @@
#include <linux/smp_lock.h>
#include <linux/delay.h>
+#include <linux/cache.h>
#include <asm/sigp.h>
#include <asm/pgalloc.h>
@@ -55,7 +56,7 @@
int smp_threads_ready=0; /* Set when the idlers are all forked. */
static atomic_t smp_commenced = ATOMIC_INIT(0);
-spinlock_t kernel_flag = SPIN_LOCK_UNLOCKED;
+spinlock_t kernel_flag __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
unsigned long cpu_online_map;
|