linux-mips
[Top] [All Lists]

[PATCH 3/3] [MIPS] Make a needlessly global symbol static in arch/mips/k

To: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: [PATCH 3/3] [MIPS] Make a needlessly global symbol static in arch/mips/kernel/smp.c
From: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Date: Mon, 23 Mar 2009 00:12:29 +0200
Cc: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
In-reply-to: <1237759949-8223-3-git-send-email-dmitri.vorobiev@movial.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1237759949-8223-1-git-send-email-dmitri.vorobiev@movial.com> <1237759949-8223-2-git-send-email-dmitri.vorobiev@movial.com> <1237759949-8223-3-git-send-email-dmitri.vorobiev@movial.com>
Sender: linux-mips-bounce@linux-mips.org
The variable cpu_callin_map is needlessly defined global, so let's
make it static now.

Build-tested using malta_defconfig.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
---
 arch/mips/kernel/smp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
index 3da9470..c937506 100644
--- a/arch/mips/kernel/smp.c
+++ b/arch/mips/kernel/smp.c
@@ -44,7 +44,7 @@
 #include <asm/mipsmtregs.h>
 #endif /* CONFIG_MIPS_MT_SMTC */
 
-volatile cpumask_t cpu_callin_map;     /* Bitmask of started secondaries */
+static volatile cpumask_t cpu_callin_map;      /* Bitmask of started 
secondaries */
 int __cpu_number_map[NR_CPUS];         /* Map physical to logical */
 int __cpu_logical_map[NR_CPUS];                /* Map logical to physical */
 
-- 
1.5.6.3


<Prev in Thread] Current Thread [Next in Thread>