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: [email protected] Suggested-by: Ulrich Weigand <[email protected]> Reviewed-by: Alexander Gordeev <[email protected]> Signed-off-by: Sumanth Korikkar <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent e9f3af0 commit 378ca2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)