aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/mm
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-06-30 14:02:41 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-01 11:03:31 +0200
commit45fdc3a7624a4a48185a04ae0abab5f9793d8952 (patch)
tree1f741448802f07a88479a2d4266cda9b875756da /arch/x86/mm
parente1441b9a41c33aa9236008a7cfe49a8e723fb397 (diff)
x86 ptrace: fix PTRACE_GETFPXREGS error
ptrace has always returned only -EIO for all failures to access registers. The user_regset calls are allowed to return a more meaningful variety of errors. The REGSET_XFP calls use -ENODEV for !cpu_has_fxsr hardware. Make ptrace return the traditional -EIO instead of the error code from the user_regset call. Signed-off-by: Roland McGrath <roland@redhat.com> Cc: stable@kernel.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm')
0 files changed, 0 insertions, 0 deletions