From: Roland McGrath Date: Wed, 30 Jan 2008 12:31:47 +0000 (+0100) Subject: x86: user_regset user-copy helpers X-Git-Tag: v2.6.25-rc1~1143^2~517 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bde4d181793be84351bc21c256d8c71cfcd313a;p=pandora-kernel.git x86: user_regset user-copy helpers This defines two new inlines in linux/regset.h, for use in arch_ptrace implementations and the like. These provide simplified wrappers for using the user_regset interfaces to copy thread regset data into the caller's user-space memory. The inlines are trivial, but make the common uses in places such as ptrace implementation much more concise, easier to read, and less prone to code-copying errors. Signed-off-by: Roland McGrath Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed