diff options
author | Heiko Carstens <[email protected]> | 2023-03-13 13:50:37 +0100 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2023-03-20 11:12:47 +0100 |
commit | 91a0117dce08a635d48b6016c5af354edde2082b (patch) | |
tree | 58c3d81976d457c2157463ddbfcf193a22fd2bfa | |
parent | dfa2a72cdbfc3b7cda196b3389579cff88201ce6 (diff) |
s390/expoline: use __ALIGN instead of open coded .align
Use __ALIGN instead of open coded .align statement to make sure that
external expoline thunks follow global function alignment rules.
Signed-off-by: Heiko Carstens <[email protected]>
-rw-r--r-- | arch/s390/include/asm/nospec-insn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/include/asm/nospec-insn.h b/arch/s390/include/asm/nospec-insn.h index 7e9e99523e95..7a946c42ad13 100644 --- a/arch/s390/include/asm/nospec-insn.h +++ b/arch/s390/include/asm/nospec-insn.h @@ -2,6 +2,7 @@ #ifndef _ASM_S390_NOSPEC_ASM_H #define _ASM_S390_NOSPEC_ASM_H +#include <linux/linkage.h> #include <asm/dwarf.h> #ifdef __ASSEMBLY__ @@ -16,7 +17,7 @@ .macro __THUNK_PROLOG_NAME name #ifdef CONFIG_EXPOLINE_EXTERN .pushsection .text,"ax",@progbits - .align 16,0x07 + __ALIGN #else .pushsection .text.\name,"axG",@progbits,\name,comdat #endif |