]> git.itanic.dy.fi Git - linux-stable/commit
arch: ensure parisc/powerpc handle PF_IO_WORKER in copy_thread()
authorJens Axboe <axboe@kernel.dk>
Tue, 23 Feb 2021 18:57:20 +0000 (11:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jan 2023 10:39:23 +0000 (11:39 +0100)
commitdd26e2cec74f88cb7910deec77897d04ade299bd
tree35289575fb1a4e5384b15231bfab5b1c7d4de9bf
parent320c8057eceb18c5d836fcbe0ffb0035fcfe28ff
arch: ensure parisc/powerpc handle PF_IO_WORKER in copy_thread()

[ Upstream commit 0100e6bbdbb79404e56939313662b42737026574 ]

In the arch addition of PF_IO_WORKER, I missed parisc and powerpc for
some reason. Fix that up, ensuring they handle PF_IO_WORKER like they do
PF_KTHREAD in copy_thread().

Reported-by: Bruno Goncalves <bgoncalv@redhat.com>
Fixes: 4727dc20e042 ("arch: setup PF_IO_WORKER threads like PF_KTHREAD")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/process.c
arch/powerpc/kernel/process.c