diff options
author | Sumanth Korikkar <sumanthk@linux.ibm.com> | 2024-03-26 18:12:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-10 16:36:04 +0200 |
commit | 3dcb2223b973887f6360780f17ef99be38c3bbd3 (patch) | |
tree | 050d0c55425e534391c99e4a034c5bf3a72f2b76 | |
parent | 782baf52e7cbddd01543b58c43b019c70ce7681d (diff) | |
download | linux-stable-3dcb2223b973887f6360780f17ef99be38c3bbd3.tar.gz linux-stable-3dcb2223b973887f6360780f17ef99be38c3bbd3.tar.bz2 linux-stable-3dcb2223b973887f6360780f17ef99be38c3bbd3.zip |
s390/entry: align system call table on 8 bytes
commit 378ca2d2ad410a1cd5690d06b46c5e2297f4c8c0 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 49a11f6dd7ae..26c08ee87740 100644 --- a/arch/s390/kernel/entry.S +++ b/arch/s390/kernel/entry.S @@ -653,6 +653,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" |