summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>2008-04-01 02:03:20 +0400
committerRalf Baechle <ralf@linux-mips.org>2008-04-28 17:14:27 +0100
commitcd2675fba90d3e87fa7c9902fd7fdedc2e5022e0 (patch)
treec754f0d46ed122d7c487cde1d7ecffa2f98fd835 /arch
parentbb09a954b64c61b691c095e0a20708265b5bc2bc (diff)
[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>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/mips-boards/generic/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic/init.c
index 852b19492d8c..da36cc019c44 100644
--- a/arch/mips/mips-boards/generic/init.c
+++ b/arch/mips/mips-boards/generic/init.c
@@ -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;