s390/spinlock: remove align attribute from arch_spinlock_t
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 22 Mar 2021 12:44:47 +0000 (13:44 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Sun, 28 Mar 2021 18:23:54 +0000 (20:23 +0200)
No need to add an align attribute for an integer.
The alignment is correct anyway.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/spinlock_types.h

index cfed272..a2bbfd7 100644 (file)
@@ -8,7 +8,7 @@
 
 typedef struct {
        int lock;
-} __attribute__ ((aligned (4))) arch_spinlock_t;
+} arch_spinlock_t;
 
 #define __ARCH_SPIN_LOCK_UNLOCKED { .lock = 0, }