patch-2.4.15 linux/include/asm-s390x/spinlock.h

Next file: linux/include/asm-s390x/vtoc.h
Previous file: linux/include/asm-s390x/sigcontext.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/include/asm-s390x/spinlock.h linux/include/asm-s390x/spinlock.h
@@ -20,7 +20,7 @@
 
 typedef struct {
 	volatile unsigned int lock;
-} spinlock_t __attribute__ ((aligned (8)));
+} __attribute__ ((aligned (4))) spinlock_t;
 
 #define SPIN_LOCK_UNLOCKED (spinlock_t) { 0 }
 #define spin_lock_init(lp) do { (lp)->lock = 0; } while(0)

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