Skip to content

Commit 378ca2d

Browse files
sumanthkorikkarVasily Gorbik
authored andcommitted
s390/entry: align system call table on 8 bytes
Align system call table on 8 bytes. With sys_call_table entry size of 8 bytes that eliminates the possibility of a system call pointer crossing cache line boundary. Cc: stable@kernel.org Suggested-by: Ulrich Weigand <ulrich.weigand@de.ibm.com> Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1 parent e9f3af0 commit 378ca2d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/s390/kernel/entry.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ SYM_DATA_START_LOCAL(daton_psw)
635635
SYM_DATA_END(daton_psw)
636636

637637
.section .rodata, "a"
638+
.balign 8
638639
#define SYSCALL(esame,emu) .quad __s390x_ ## esame
639640
SYM_DATA_START(sys_call_table)
640641
#include "asm/syscall_table.h"

0 commit comments

Comments
 (0)