projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84fa396
)
s390/spinlock: remove align attribute from arch_spinlock_t
author
Heiko Carstens
<hca@linux.ibm.com>
Mon, 22 Mar 2021 12:44:47 +0000
(13:44 +0100)
committer
Heiko 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
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/spinlock_types.h
b/arch/s390/include/asm/spinlock_types.h
index
cfed272
..
a2bbfd7
100644
(file)
--- a/
arch/s390/include/asm/spinlock_types.h
+++ b/
arch/s390/include/asm/spinlock_types.h
@@
-8,7
+8,7
@@
typedef struct {
int lock;
-}
__attribute__ ((aligned (4)))
arch_spinlock_t;
+} arch_spinlock_t;
#define __ARCH_SPIN_LOCK_UNLOCKED { .lock = 0, }