aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumanth Korikkar <[email protected]>2024-03-26 18:12:13 +0100
committerVasily Gorbik <[email protected]>2024-04-03 15:00:20 +0200
commit378ca2d2ad410a1cd5690d06b46c5e2297f4c8c0 (patch)
tree37a58fcfea5821ea2239b5402a16f2ace6acc83e
parente9f3af02f63909f41b43c28330434cc437639c5c (diff)
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]>
-rw-r--r--arch/s390/kernel/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S
index 787394978bc0..3dc85638bc63 100644
--- a/arch/s390/kernel/entry.S
+++ b/arch/s390/kernel/entry.S
@@ -635,6 +635,7 @@ SYM_DATA_START_LOCAL(daton_psw)
SYM_DATA_END(daton_psw)
.section .rodata, "a"
+ .balign 8
#define SYSCALL(esame,emu) .quad __s390x_ ## esame
SYM_DATA_START(sys_call_table)
#include "asm/syscall_table.h"