LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>
To: linux-mips@linux-mips.org, ralf@linux-mips.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 1/6] [MIPS] make mips_nmi_setup() static
Date: Tue, 1 Apr 2008 02:03:20 +0400 [thread overview]
Message-ID: <1207001005-2633-2-git-send-email-dmitri.vorobiev@gmail.com> (raw)
In-Reply-To: <1207001005-2633-1-git-send-email-dmitri.vorobiev@gmail.com>
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>
---
arch/mips/mips-boards/generic/init.c | 2 +-
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 1695dca..70dd9f4 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;
--
1.5.3
next prev parent reply other threads:[~2008-03-31 22:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-31 22:03 [PATCH 0/6] [MIPS] make some functions and variables static Dmitri Vorobiev
2008-03-31 22:03 ` Dmitri Vorobiev [this message]
2008-03-31 22:03 ` [PATCH 2/6] [MIPS] make mips_ejtag_setup() static Dmitri Vorobiev
2008-03-31 22:03 ` [PATCH 3/6] [MIPS] make mdesc and prom_getmdesc() static Dmitri Vorobiev
2008-03-31 22:03 ` [PATCH 4/6] [MIPS] make plat_perf_setup() static Dmitri Vorobiev
2008-03-31 22:03 ` [PATCH 5/6] [MIPS] make standard_io_resources[] static Dmitri Vorobiev
2008-03-31 22:03 ` [PATCH 6/6] [MIPS] malta_int.c: make 4 variables static Dmitri Vorobiev
2008-03-31 22:41 ` [PATCH 0/6] [MIPS] make some functions and " Ralf Baechle
2008-04-01 8:54 ` Dmitri Vorobiev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1207001005-2633-2-git-send-email-dmitri.vorobiev@gmail.com \
--to=dmitri.vorobiev@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--subject='Re: [PATCH 1/6] [MIPS] make mips_nmi_setup() static' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).