|
@@ -101,10 +101,8 @@ static inline void syscall_get_arguments(struct task_struct *task,
|
|
/* O32 ABI syscall() - Either 64-bit with O32 or 32-bit */
|
|
/* O32 ABI syscall() - Either 64-bit with O32 or 32-bit */
|
|
if ((config_enabled(CONFIG_32BIT) ||
|
|
if ((config_enabled(CONFIG_32BIT) ||
|
|
test_tsk_thread_flag(task, TIF_32BIT_REGS)) &&
|
|
test_tsk_thread_flag(task, TIF_32BIT_REGS)) &&
|
|
- (regs->regs[2] == __NR_syscall)) {
|
|
|
|
|
|
+ (regs->regs[2] == __NR_syscall))
|
|
i++;
|
|
i++;
|
|
- n++;
|
|
|
|
- }
|
|
|
|
|
|
|
|
while (n--)
|
|
while (n--)
|
|
ret |= mips_get_syscall_arg(args++, task, regs, i++);
|
|
ret |= mips_get_syscall_arg(args++, task, regs, i++);
|