aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorSuresh Siddha <[email protected]>2010-02-22 14:51:33 -0800
committerH. Peter Anvin <[email protected]>2010-02-23 13:45:27 -0800
commitff7fbc72e0c3ef7e94a27a3a918fd09ec9a30204 (patch)
tree1e07cfb9d41d8c7c155ae781f901e287f3833273 /net/lapb/lapb_in.c
parentc6a0dd7ec6fb2d4927979ed4dc562fc5c122d826 (diff)
x86, ptrace: Simplify xstateregs_get()
48 bytes (bytes 464..511) of the xstateregs payload come from the kernel defined structure (xstate_fx_sw_bytes). Rest comes from the xstate regs structure in the thread struct. Instead of having multiple user_regset_copyout()'s, simplify the xstateregs_get() by first copying the SW bytes into the xstate regs structure in the thread structure and then using one user_regset_copyout() to copyout the xstateregs. Requested-by: Roland McGrath <[email protected]> Signed-off-by: Suresh Siddha <[email protected]> LKML-Reference: <[email protected]> Acked-by: Roland McGrath <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]> Cc: Oleg Nesterov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions