MIPS: process: Add prototype for function arch_dup_task_struct

This commit adds a prototype to fix warning at W=1:

  arch/mips/kernel/process.c:95:5: error: no previous prototype for 'arch_dup_task_struct' [-Werror=missing-prototypes]

Signed-off-by: Pujin Shi <shipujin.t@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
Pujin Shi 2020-09-29 17:30:46 +08:00 committed by Thomas Bogendoerfer
parent 925b688223
commit 99419c310e
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@
*/
extern unsigned int vced_count, vcei_count;
extern int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src);
#ifdef CONFIG_32BIT
#ifdef CONFIG_KVM_GUEST