diff options
author | Sumanth Korikkar <sumanthk@linux.ibm.com> | 2024-03-26 18:12:13 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2024-04-03 15:00:20 +0200 |
commit | 378ca2d2ad410a1cd5690d06b46c5e2297f4c8c0 (patch) | |
tree | 37a58fcfea5821ea2239b5402a16f2ace6acc83e /arch/s390/kernel/entry.S | |
parent | e9f3af02f63909f41b43c28330434cc437639c5c (diff) | |
download | linux-378ca2d2ad410a1cd5690d06b46c5e2297f4c8c0.tar.gz linux-378ca2d2ad410a1cd5690d06b46c5e2297f4c8c0.tar.bz2 linux-378ca2d2ad410a1cd5690d06b46c5e2297f4c8c0.zip |
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>
Diffstat (limited to 'arch/s390/kernel/entry.S')
-rw-r--r-- | arch/s390/kernel/entry.S | 1 |
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" |