commit | ead4c57bb5479797a6568c5703f935c428534fa4 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Sep 25 11:28:11 2021 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Mar 05 19:53:25 2023 -0500 |
tree | 5cdd2b498d2a8db83f66f9e0bca248260b3df399 | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 [diff] |
s390: trim ancient junk from copy_thread() Setting and ->psw.addr in childregs of kernel thread is a rudiment of the old kernel_thread()/kernel_execve() implementation. Mainline hadn't been using them since 2012. And clarify the assigments to frame->sf.gprs - the array stores grp6..gpr15 values to be set by __switch_to(), so frame->sf.gprs[5] actually affects grp11, etc. Better spell that as frame->sf.gprs[11 - 6]... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>