浏览代码

[MIPS] make mips_nmi_setup() static

This change makes the needlessly global function mips_nmi_setup() static.

Successfully build-tested using default configs for Malta, Atlas
and SEAD boards.

Runtime test successfully performed by booting the Malta 4Kc board
up to the shell prompt.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Dmitri Vorobiev 17 年之前
父节点
当前提交
cd2675fba9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/mips/mips-boards/generic/init.c

+ 1 - 1
arch/mips/mips-boards/generic/init.c

@@ -226,7 +226,7 @@ void __init kgdb_config(void)
 }
 }
 #endif
 #endif
 
 
-void __init mips_nmi_setup(void)
+static void __init mips_nmi_setup(void)
 {
 {
 	void *base;
 	void *base;
 	extern char except_vec_nmi;
 	extern char except_vec_nmi;