MIPS: process: Add prototype for function arch_dup_task_struct
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]
--- arch/mips/include/asm/processor.h | 1 + 1 file changed, 1 insertion(+)
arch/mips/include/asm/processor.h +1 -0
@@ -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
Signature · 1 line
2.18.1
PATCH 2/2 MIPS: process: include exec.h header in process.c
arch/mips/kernel/process.c:696:15: error: no previous prototype for 'arch_align_stack' [-Werror=missing-prototypes]
--- arch/mips/kernel/process.c | 1 + 1 file changed, 1 insertion(+)
arch/mips/kernel/process.c +1 -0
@@ -52,6 +52,7 @@#include <asm/inst.h> #include <asm/stacktrace.h> #include <asm/irq_regs.h> +#include <asm/exec.h> #ifdef CONFIG_HOTPLUG_CPU void arch_cpu_idle_dead (void )
Signature · 1 line
2.18.1
Re: [PATCH 2/2] MIPS: process: include exec.h header in process.c
Quoted 6 lines · Pujin Shi
arch/mips/kernel/process.c:696:15: error: no previous prototype for 'arch_align_stack' [-Werror=missing-prototypes]Signed-off-by Pujin Shi <[email protected]>--- arch/mips/kernel/process.c | 1 + 1 file changed, 1 insertion(+)
applied to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]
Quoted 8 lines · Pujin Shi
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 <[email protected]>--- arch/mips/include/asm/processor.h | 1 + 1 file changed, 1 insertion(+)
applied to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]