summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/traps.h
diff options
context:
space:
mode:
authorYanteng Si <siyanteng@loongson.cn>2021-01-07 06:06:45 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-01-07 19:12:51 +0300
commit3b31bb6bb5495f4f38e4d106f95df8be12463f48 (patch)
treee2847358348d71b22137e3341d629683ec0789a8 /arch/mips/include/asm/traps.h
parentfdd85e04df3fdd55bb7f32786890fdfb200c40f0 (diff)
downloadlinux-3b31bb6bb5495f4f38e4d106f95df8be12463f48.tar.xz
MIPS: init: move externs to header file
This commit fixes the following checkpatch warnings: WARNING: externs should be avoided in .c files This is a warning for placing declarations in a ".c" file. This fix removes the declaration in ".c" and adds it to the common header file. Signed-off-by: Yanteng Si <siyanteng@loongson.cn> Reviewed-by: Huacai Chen <chenhuacai@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/traps.h')
-rw-r--r--arch/mips/include/asm/traps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/traps.h b/arch/mips/include/asm/traps.h
index 6a0864bb604d..6aa8f126a43d 100644
--- a/arch/mips/include/asm/traps.h
+++ b/arch/mips/include/asm/traps.h
@@ -24,6 +24,7 @@ extern void (*board_ebase_setup)(void);
extern void (*board_cache_error_setup)(void);
extern int register_nmi_notifier(struct notifier_block *nb);
+extern char except_vec_nmi[];
#define nmi_notifier(fn, pri) \
({ \