Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: IRQ: Add prototype for function init_IRQ

This commit adds a prototype to fix error at W=1:

arch/mips/kernel/irq.c:52:13: error: no previous prototype for
'init_IRQ' [-Werror=missing-prototypes]

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Yanteng Si and committed by
Thomas Bogendoerfer
01179ca0 fe82de91

+1
+1
arch/mips/include/asm/irq.h
··· 20 20 #define IRQ_STACK_SIZE THREAD_SIZE 21 21 #define IRQ_STACK_START (IRQ_STACK_SIZE - 16) 22 22 23 + extern void __init init_IRQ(void); 23 24 extern void *irq_stack[NR_CPUS]; 24 25 25 26 /*