Commit 91a0117d authored by Heiko Carstens's avatar Heiko Carstens
Browse files

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: default avatarHeiko Carstens <hca@linux.ibm.com>
parent dfa2a72c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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