aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/skas/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux/skas/mem.c')
-rw-r--r--arch/um/os-Linux/skas/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/skas/mem.c b/arch/um/os-Linux/skas/mem.c
index 9fbf210ebfb0..383052baa166 100644
--- a/arch/um/os-Linux/skas/mem.c
+++ b/arch/um/os-Linux/skas/mem.c
@@ -44,7 +44,7 @@ static unsigned long syscall_regs[MAX_REG_NR];
44 44
45static int __init init_syscall_regs(void) 45static int __init init_syscall_regs(void)
46{ 46{
47 get_safe_registers(syscall_regs, NULL); 47 get_safe_registers(syscall_regs);
48 syscall_regs[REGS_IP_INDEX] = UML_CONFIG_STUB_CODE + 48 syscall_regs[REGS_IP_INDEX] = UML_CONFIG_STUB_CODE +
49 ((unsigned long) &batch_syscall_stub - 49 ((unsigned long) &batch_syscall_stub -
50 (unsigned long) &__syscall_stub_start); 50 (unsigned long) &__syscall_stub_start);