diff options
author | Helge Deller <deller@gmx.de> | 2023-11-25 09:11:56 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-11-25 09:43:17 +0100 |
commit | b28fc0d8739c03e7b6c44914a9d00d4c6dddc0ea (patch) | |
tree | ae69328cdae9dbcff4f73d126febe0e24b8da1b4 /arch | |
parent | 07eecff8ae78df7f28800484d31337e1f9bfca3a (diff) |
parisc: Mark lock_aligned variables 16-byte aligned on SMP
On parisc we need 16-byte alignment for variables which are used for
locking. Mark the __lock_aligned attribute acordingly so that the
.data..lock_aligned section will get that alignment in the generated
object files.
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v6.0+
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/include/asm/ldcw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/include/asm/ldcw.h b/arch/parisc/include/asm/ldcw.h index ee9e071859b2..47ebc4c91eaf 100644 --- a/arch/parisc/include/asm/ldcw.h +++ b/arch/parisc/include/asm/ldcw.h @@ -55,7 +55,7 @@ }) #ifdef CONFIG_SMP -# define __lock_aligned __section(".data..lock_aligned") +# define __lock_aligned __section(".data..lock_aligned") __aligned(16) #endif #endif /* __PARISC_LDCW_H */ |