From: Brian Gerst Date: Tue, 10 Feb 2009 14:51:46 +0000 (-0500) Subject: x86: pass in pt_regs pointer for syscalls that need it X-Git-Tag: v2.6.30-rc1~2^2~50^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253f29a4ae9cc6cdc7b94f96517f27a93885a6ce;p=pandora-kernel.git 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 Acked-by: Tejun Heo Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed