projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe82de9
)
MIPS: IRQ: Add prototype for function init_IRQ
author
Yanteng Si
<siyanteng@loongson.cn>
Mon, 18 Jan 2021 13:20:09 +0000
(21:20 +0800)
committer
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Tue, 19 Jan 2021 22:04:32 +0000
(23:04 +0100)
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>
arch/mips/include/asm/irq.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/irq.h
b/arch/mips/include/asm/irq.h
index c5d35178641622a6e9a2d6815055cc61ac92c7ae..f021de661c3a62c0f052894b07a30cc129ec9c51 100644
(file)
--- a/
arch/mips/include/asm/irq.h
+++ b/
arch/mips/include/asm/irq.h
@@
-20,6
+20,7
@@
#define IRQ_STACK_SIZE THREAD_SIZE
#define IRQ_STACK_START (IRQ_STACK_SIZE - 16)
+extern void __init init_IRQ(void);
extern void *irq_stack[NR_CPUS];
/*