]> git.baikalelectronics.ru Git - kernel.git/commit
[ia64] access_uarea(): stop bothering with gpregs_[gs]et()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 6 Jun 2020 22:46:45 +0000 (18:46 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 26 Jun 2020 05:01:53 +0000 (01:01 -0400)
commit71e7b63bf350e86806fe9f7aae71cc0c508646e3
treef82d0895ced3126742dd544978747b7eba301b01
parentd78c3b4652edfc2b361678d649555f02736f160a
[ia64] access_uarea(): stop bothering with gpregs_[gs]et()

We know this won't be called for child == current, so we don't need
to bother with callbacks, etc. - just do unw_init_from_blocked_task(),
unw_unwind_to_user() and do the payload of gpregs_[gs]et().  For
one register.  Which is to say, access_elf_reg().

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