Source
20
20
if (unlikely(!regs)) {
21
21
put_task_stack(target);
22
22
return -EAGAIN;
23
23
}
24
24
25
25
info->sp = user_stack_pointer(regs);
26
26
info->data.instruction_pointer = instruction_pointer(regs);
27
27
28
28
info->data.nr = syscall_get_nr(target, regs);
29
29
if (info->data.nr != -1L)
30
-
syscall_get_arguments(target, regs, 0, 6,
30
+
syscall_get_arguments(target, regs,
31
31
(unsigned long *)&info->data.args[0]);
32
32
33
33
put_task_stack(target);
34
34
return 0;
35
35
}
36
36
37
37
/**
38
38
* task_current_syscall - Discover what a blocked task is doing.
39
39
* @target: thread to examine
40
40
* @info: structure with the following fields: