diff options
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/syscall.h b/arch/s390/include/asm/syscall.h index abad78d5b10c..5bc12598ae9e 100644 --- a/arch/s390/include/asm/syscall.h +++ b/arch/s390/include/asm/syscall.h | |||
@@ -54,7 +54,7 @@ static inline void syscall_set_return_value(struct task_struct *task, | |||
54 | struct pt_regs *regs, | 54 | struct pt_regs *regs, |
55 | int error, long val) | 55 | int error, long val) |
56 | { | 56 | { |
57 | regs->gprs[2] = error ? -error : val; | 57 | regs->gprs[2] = error ? error : val; |
58 | } | 58 | } |
59 | 59 | ||
60 | static inline void syscall_get_arguments(struct task_struct *task, | 60 | static inline void syscall_get_arguments(struct task_struct *task, |