From 99419c310ee0f3f9aceff8966b2eeffc03ba76a5 Mon Sep 17 00:00:00 2001 From: Pujin Shi Date: Tue, 29 Sep 2020 17:30:46 +0800 Subject: [PATCH] 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 Signed-off-by: Thomas Bogendoerfer --- arch/mips/include/asm/processor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index 856e12f6063d8..7834e7c0c78ac 100644 --- a/arch/mips/include/asm/processor.h +++ b/arch/mips/include/asm/processor.h @@ -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 -- 2.30.2