diff options
author | Pujin Shi <shipujin.t@gmail.com> | 2020-09-29 11:30:46 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-09-30 21:52:42 +0200 |
commit | 99419c310ee0f3f9aceff8966b2eeffc03ba76a5 (patch) | |
tree | 94f904c9da36d852381fb1186d8ecd45d4008456 /arch | |
parent | MIPS: idle: Add prototype for function check_wait (diff) | |
download | linux-99419c310ee0f3f9aceff8966b2eeffc03ba76a5.tar.xz linux-99419c310ee0f3f9aceff8966b2eeffc03ba76a5.zip |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/processor.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |