x86: pass in pt_regs pointer for syscalls that need it
authorBrian Gerst <brgerst@gmail.com>
Tue, 10 Feb 2009 14:51:46 +0000 (09:51 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 11:40:45 +0000 (12:40 +0100)
Some syscalls need to access the pt_regs structure, either to copy
user register state or to modifiy it.  This patch adds stubs to load
the address of the pt_regs struct into the %eax register, and changes
the syscalls to regparm(1) to receive the pt_regs pointer as the
first argument.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found