]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: process: Fix no prototype for arch_dup_task_struct
authorNanyong Sun <sunnanyong@huawei.com>
Fri, 5 Mar 2021 11:33:32 +0000 (19:33 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 10 Mar 2021 04:46:07 +0000 (20:46 -0800)
commit281a1b030d864d89c2aa6259a0abea6b6d360dfe
tree6122d44e490f1f1bc3801617fd1ce12554bff158
parentc10256f27148220b73ccf465b829936031115b48
riscv: process: Fix no prototype for arch_dup_task_struct

Fix the following W=1 compilation warning:
arch/riscv/kernel/process.c:114:5: warning: no previous prototype for â€˜arch_dup_task_struct’ [-Wmissing-prototypes]
  114 | int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
      |     ^~~~~~~~~~~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/processor.h