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
- Lines: 9
- Date:
Fri Nov 9 14:11:15 2001
- Orig file:
v2.4.14/linux/include/asm-s390x/spinlock.h
- Orig date:
Tue Oct 23 22:48:53 2001
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)