[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200929093047.1425-1-shipujin.t@gmail.com>
Date: Tue, 29 Sep 2020 17:30:46 +0800
From: Pujin Shi <shipujin.t@...il.com>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
Cc: Yousong Zhou <yszhou4tech@...il.com>,
Paul Burton <paulburton@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Vincenzo Frascino <vincenzo.frascino@....com>,
Jiaxun Yang <jiaxun.yang@...goat.com>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
Pujin Shi <shipujin.t@...il.com>
Subject: [PATCH 1/2] 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@...il.com>
---
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 856e12f6063d..7834e7c0c78a 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.18.1
Powered by blists - more mailing lists