Am Freitag, 22. August 2008 schrieb Matthew Wilcox: > > S390 has an __aligned__((4)) on theirs -- is this really necessary? > Doesn't s390 align ints to 4 bytes automatically? If it doesn't, it Yes, the s390 abi requires a 4 byte alignment for int. The __aligned__((4)) looks unnecessary. > +++ include/linux/atomic_type.h > +typedef struct { volatile int counter; } atomic_t; > +#ifdef CONFIG_64BIT > +typedef struct { volatile long counter; } atomic64_t; > +#endif Hmm, the current s390 version has no volatile. I can recall some very long mail threads about this. What was the outcome? Christian -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html