diff options
author | Roland McGrath <roland@redhat.com> | 2008-01-30 13:31:47 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:31:47 +0100 |
commit | 5bde4d181793be84351bc21c256d8c71cfcd313a (patch) | |
tree | 58c1c534ef5af5f425de61532b8aa5d24048136f /kernel/ptrace.c | |
parent | b9d36d5d000294a128f7f174fe67623a10e29d61 (diff) | |
download | op-kernel-dev-5bde4d181793be84351bc21c256d8c71cfcd313a.zip op-kernel-dev-5bde4d181793be84351bc21c256d8c71cfcd313a.tar.gz |
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 <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions