]> git.baikalelectronics.ru Git - kernel.git/commit
LoongArch: Fix copy_thread() build errors
authorHuacai Chen <chenhuacai@loongson.cn>
Sun, 5 Jun 2022 08:20:03 +0000 (16:20 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 8 Jun 2022 03:00:40 +0000 (11:00 +0800)
commitfa8c1cfb9e2ae1c414604c4af9758a11ed662fa7
tree2b9060a4daf990016230ed5a6204bc6afcb6948b
parentec403e9b3fb9564672c2dec421eccfa2a14eb6e8
LoongArch: Fix copy_thread() build errors

Commit 2b740c6defb09b6f ("fork: Pass struct kernel_clone_args into
copy_thread") change the prototype of copy_thread(), while commit
680b077b8adbf921 ("fork: Generalize PF_IO_WORKER handling") change
the structure of kernel_clone_args. They cause build errors, so fix it.

Fixes: 680b077b8adbf921 ("fork: Generalize PF_IO_WORKER handling")
Fixes: 2b740c6defb09b6f ("fork: Pass struct kernel_clone_args into copy_thread")
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/process.c