diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-03-06 03:55:33 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-03-13 11:16:42 +0300 |
commit | fb77914a692d550a5bb0c7f71eac40e6da9c0e6d (patch) | |
tree | 02f0f2d50237677498acdd49265360504091b89f /arch/s390/pci | |
parent | 72c2112ce9d72e6c40dd893f32187a3d34453113 (diff) | |
download | linux-fb77914a692d550a5bb0c7f71eac40e6da9c0e6d.tar.xz |
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 assignments 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>
Link: https://lore.kernel.org/r/ZAU6BYFisE8evmYf@ZenIV
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/pci')
0 files changed, 0 insertions, 0 deletions