]> err.no Git - linux-2.6/commitdiff
[MIPS] make mips_nmi_setup() static
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Mon, 31 Mar 2008 22:03:20 +0000 (02:03 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:27 +0000 (17:14 +0100)
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>
arch/mips/mips-boards/generic/init.c

index 852b19492d8c43e765b9ccdf830eead70ea48f2e..da36cc019c4451c719f8272c12aaf2df708f1059 100644 (file)
@@ -226,7 +226,7 @@ void __init kgdb_config(void)
 }
 #endif
 
-void __init mips_nmi_setup(void)
+static void __init mips_nmi_setup(void)
 {
        void *base;
        extern char except_vec_nmi;