]> Git Repo - linux.git/commit
x86: pass in pt_regs pointer for syscalls that need it
authorBrian Gerst <[email protected]>
Tue, 10 Feb 2009 14:51:46 +0000 (09:51 -0500)
committerIngo Molnar <[email protected]>
Wed, 11 Feb 2009 11:40:45 +0000 (12:40 +0100)
commit253f29a4ae9cc6cdc7b94f96517f27a93885a6ce
tree09942e565938a6bac216b1725ccf607e01d09b20
parentaa78bcfa01dec3cdbde3cda098ce32abbd9c3bf6
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 <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/include/asm/linkage.h
arch/x86/include/asm/syscalls.h
arch/x86/kernel/entry_32.S
arch/x86/kernel/ioport.c
arch/x86/kernel/process_32.c
arch/x86/kernel/signal.c
arch/x86/kernel/syscall_table_32.S
arch/x86/kernel/vm86_32.c
This page took 0.05681 seconds and 4 git commands to generate.