commit | 253f29a4ae9cc6cdc7b94f96517f27a93885a6ce | [log] [tgz] |
---|---|---|
author | Brian Gerst <brgerst@gmail.com> | Tue Feb 10 09:51:46 2009 -0500 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Feb 11 12:40:45 2009 +0100 |
tree | 09942e565938a6bac216b1725ccf607e01d09b20 | |
parent | aa78bcfa01dec3cdbde3cda098ce32abbd9c3bf6 [diff] |
x86: pass in pt_regs pointer for syscalls that need it 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>