diff options
Diffstat (limited to 'arch/um/kernel/skas/syscall.c')
-rw-r--r-- | arch/um/kernel/skas/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/skas/syscall.c b/arch/um/kernel/skas/syscall.c index 0ae4eea21be4..e183da633c89 100644 --- a/arch/um/kernel/skas/syscall.c +++ b/arch/um/kernel/skas/syscall.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include "kern_util.h" | 13 | #include "kern_util.h" |
14 | #include "syscall.h" | 14 | #include "syscall.h" |
15 | 15 | ||
16 | void handle_syscall(union uml_pt_regs *r) | 16 | void handle_syscall(struct uml_pt_regs *r) |
17 | { | 17 | { |
18 | struct pt_regs *regs = container_of(r, struct pt_regs, regs); | 18 | struct pt_regs *regs = container_of(r, struct pt_regs, regs); |
19 | long result; | 19 | long result; |
@@ -37,7 +37,7 @@ void handle_syscall(union uml_pt_regs *r) | |||
37 | result = -ENOSYS; | 37 | result = -ENOSYS; |
38 | else result = EXECUTE_SYSCALL(syscall, regs); | 38 | else result = EXECUTE_SYSCALL(syscall, regs); |
39 | 39 | ||
40 | REGS_SET_SYSCALL_RETURN(r->skas.regs, result); | 40 | REGS_SET_SYSCALL_RETURN(r->regs, result); |
41 | 41 | ||
42 | syscall_trace(r, 1); | 42 | syscall_trace(r, 1); |
43 | } | 43 | } |