]> 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)
commitc693d10b788281c7c70ba2b486687f6257377581
treef82d0895ced3126742dd544978747b7eba301b01
parent52da63ae08ab762abb4edbde07172855d058b905
[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