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)
commit0626e1c9f3e5536545431538d12c762d5abf59c8
tree2b9060a4daf990016230ed5a6204bc6afcb6948b
parent255b4658c809e194bc10236ac24a722ec14a83d6
LoongArch: Fix copy_thread() build errors

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

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