syscalls: Remove start and number from syscall_get_arguments() args
[linux-block.git] / arch / sh / include / asm / syscall_64.h
index 43882580c7f99bec93e519f1b4182c1daad2fbf0..4e8f6460c703c4ec19466aa3b66e03e36ad6c8b4 100644 (file)
@@ -47,11 +47,9 @@ static inline void syscall_set_return_value(struct task_struct *task,
 
 static inline void syscall_get_arguments(struct task_struct *task,
                                         struct pt_regs *regs,
-                                        unsigned int i, unsigned int n,
                                         unsigned long *args)
 {
-       BUG_ON(i + n > 6);
-       memcpy(args, &regs->regs[2 + i], n * sizeof(args[0]));
+       memcpy(args, &regs->regs[2], 6 * sizeof(args[0]));
 }
 
 static inline void syscall_set_arguments(struct task_struct *task,