diff options
Diffstat (limited to 'arch/mips/include')
| -rw-r--r-- | arch/mips/include/asm/syscall.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/include/asm/syscall.h b/arch/mips/include/asm/syscall.h index 5ce530fcb11f..a7e8a532f144 100644 --- a/arch/mips/include/asm/syscall.h +++ b/arch/mips/include/asm/syscall.h | |||
| @@ -86,11 +86,10 @@ static inline void syscall_get_arguments(struct task_struct *task, | |||
| 86 | unsigned int i, unsigned int n, | 86 | unsigned int i, unsigned int n, |
| 87 | unsigned long *args) | 87 | unsigned long *args) |
| 88 | { | 88 | { |
| 89 | unsigned long arg; | ||
| 90 | int ret; | 89 | int ret; |
| 91 | 90 | ||
| 92 | while (n--) | 91 | while (n--) |
| 93 | ret |= mips_get_syscall_arg(&arg, task, regs, i++); | 92 | ret |= mips_get_syscall_arg(args++, task, regs, i++); |
| 94 | 93 | ||
| 95 | /* | 94 | /* |
| 96 | * No way to communicate an error because this is a void function. | 95 | * No way to communicate an error because this is a void function. |
