* [-rt PATCH] i386: Mark nmi_show_regs static
@ 2007-07-20 18:51 Josh Triplett
0 siblings, 0 replies; only message in thread
From: Josh Triplett @ 2007-07-20 18:51 UTC (permalink / raw)
To: linux-kernel, linux-rt-users, Ingo Molnar
Nothing outside of arch/i386/kernel/nmi.c uses nmi_show_regs, so mark it
static.
Eliminates a sparse warning introduced in -rt:
warning: symbol 'nmi_show_regs' was not declared. Should it be static?
Signed-off-by: Josh Triplett <josh@kernel.org>
---
arch/i386/kernel/nmi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/i386/kernel/nmi.c b/arch/i386/kernel/nmi.c
index 2a1e3c1..8155d1a 100644
--- a/arch/i386/kernel/nmi.c
+++ b/arch/i386/kernel/nmi.c
@@ -324,7 +324,7 @@ EXPORT_SYMBOL(touch_nmi_watchdog);
extern void die_nmi(struct pt_regs *, const char *msg);
-int nmi_show_regs[NR_CPUS];
+static int nmi_show_regs[NR_CPUS];
void nmi_show_all_regs(void)
{
--
1.5.2.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-20 18:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-20 18:51 [-rt PATCH] i386: Mark nmi_show_regs static Josh Triplett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®