Revert "x86/syscall: Avoid memcpy() for ia32 syscall_get_arguments()"
This reverts commit 23a2b0d100
.
This commit is contained in:
parent
2aa1f13a96
commit
f6fecb09e8
1 changed files with 1 additions and 6 deletions
|
@ -85,12 +85,7 @@ static inline void syscall_get_arguments(struct task_struct *task,
|
|||
struct pt_regs *regs,
|
||||
unsigned long *args)
|
||||
{
|
||||
args[0] = regs->bx;
|
||||
args[1] = regs->cx;
|
||||
args[2] = regs->dx;
|
||||
args[3] = regs->si;
|
||||
args[4] = regs->di;
|
||||
args[5] = regs->bp;
|
||||
memcpy(args, ®s->bx, 6 * sizeof(args[0]));
|
||||
}
|
||||
|
||||
static inline void syscall_set_arguments(struct task_struct *task,
|
||||
|
|
Loading…
Reference in a new issue