projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
925b688
)
MIPS: process: Add prototype for function arch_dup_task_struct
author
Pujin Shi
<shipujin.t@gmail.com>
Tue, 29 Sep 2020 09:30:46 +0000
(17:30 +0800)
committer
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Wed, 30 Sep 2020 19:52:42 +0000
(21:52 +0200)
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>
arch/mips/include/asm/processor.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/processor.h
b/arch/mips/include/asm/processor.h
index
856e12f
..
7834e7c
100644
(file)
--- 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