summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/vdso32
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-03-13 13:50:38 +0100
committerHeiko Carstens <hca@linux.ibm.com>2023-03-20 11:12:47 +0100
commitc2272b2d3b164a02929c0ce9ffed35c4fe8fbe40 (patch)
tree8530afbc4c5a2eeab2a1dff0c97f8e6202dddf64 /arch/s390/kernel/vdso32
parents390/expoline: use __ALIGN instead of open coded .align (diff)
downloadlinux-c2272b2d3b164a02929c0ce9ffed35c4fe8fbe40.tar.xz
linux-c2272b2d3b164a02929c0ce9ffed35c4fe8fbe40.zip
s390/vdso: use __ALIGN instead of open coded .align
Use __ALIGN instead of open coded .align statement to make sure that vdso code follows global kernel function alignment rules. Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/vdso32')
-rw-r--r--arch/s390/kernel/vdso32/vdso_user_wrapper.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/kernel/vdso32/vdso_user_wrapper.S b/arch/s390/kernel/vdso32/vdso_user_wrapper.S
index 3f42f27f978c..2e645003fdaf 100644
--- a/arch/s390/kernel/vdso32/vdso_user_wrapper.S
+++ b/arch/s390/kernel/vdso32/vdso_user_wrapper.S
@@ -1,12 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0 */
+#include <linux/linkage.h>
#include <asm/unistd.h>
#include <asm/dwarf.h>
.macro vdso_syscall func,syscall
.globl __kernel_compat_\func
.type __kernel_compat_\func,@function
- .align 8
+ __ALIGN
__kernel_compat_\func:
CFI_STARTPROC
svc \syscall