[ia64] ptrace_[sg]etregs(): use access_elf_reg() instead of access_uarea()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 6 Jun 2020 16:59:11 +0000 (12:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Oct 2020 00:03:04 +0000 (20:03 -0400)
commit77f9c902f45f30b7fdeb82e5d3322dd498dd95a4
tree6d19c56625073bf0720a1f57d1e45a2a5efe9dd0
parent3b2d387c5e2744060848d2fb207ec06e25410ff5
[ia64] ptrace_[sg]etregs(): use access_elf_reg() instead of access_uarea()

In case of positions passed by ptrace_[sg]etregs() to access_uarea()
the latter sets the stack unwind up, walks all the way up the stack
and proceeds to pass the resulting info to access_elf_reg().  The thing
is, we'd *already* obtained that info, so we can bloody well call
access_elf_reg() directly.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ia64/kernel/ptrace.c