[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49934C01.8000309@zytor.com>
Date: Wed, 11 Feb 2009 14:06:57 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Brian Gerst <brgerst@...il.com>
CC: Tejun Heo <tj@...nel.org>, Ingo Molnar <mingo@...e.hu>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: pass in pt_regs pointer for syscalls that need it
(take 2)
Brian Gerst wrote:
> 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 take the pointer as an argument instead of relying on
> the assumption that the pt_regs structure overlaps the function
> arguments.
>
> Signed-off-by: Brian Gerst <brgerst@...il.com>
Testing this now, together with the do_rt_sigreturn -> sys_rt_sigreturn
change. If it works okay I'll commit it as an incremental diff to
tip:core/percpu.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists