path: root/arch/s390/include/asm/syscall.h
diff options
authorGerald Schaefer <>2019-02-03 21:36:13 +0100
committerMartin Schwidefsky <>2019-04-29 10:47:10 +0200
commitff4a742dde3c4b80a91cdd754fed3bc576df28c9 (patch)
treef44a18f2d81167dbb3edbcbbcbb8e9aefd1e6603 /arch/s390/include/asm/syscall.h
parent805bc0bc238f7209fca5e39c152b0d3c12046ac9 (diff)
s390/kernel: convert SYSCALL and PGM_CHECK handlers to .quad
With a relocatable kernel that could reside at any place in memory, the storage size for the SYSCALL and PGM_CHECK handlers needs to be increased from .long to .quad. Signed-off-by: Gerald Schaefer <> Reviewed-by: Philipp Rudo <> Signed-off-by: Martin Schwidefsky <>
Diffstat (limited to 'arch/s390/include/asm/syscall.h')
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/s390/include/asm/syscall.h b/arch/s390/include/asm/syscall.h
index 96f9a9151fde..8f77bb4293f9 100644
--- a/arch/s390/include/asm/syscall.h
+++ b/arch/s390/include/asm/syscall.h
@@ -14,13 +14,8 @@
#include <linux/err.h>
#include <asm/ptrace.h>
- * The syscall table always contains 32 bit pointers since we know that the
- * address of the function to be called is (way) below 4GB. So the "int"
- * type here is what we want [need] for both 32 bit and 64 bit systems.
- */
-extern const unsigned int sys_call_table[];
-extern const unsigned int sys_call_table_emu[];
+extern const unsigned long sys_call_table[];
+extern const unsigned long sys_call_table_emu[];
static inline long syscall_get_nr(struct task_struct *task,
struct pt_regs *regs)