linux-mips
[Top] [All Lists]

[PATCH] MIPS: RM7000: Symbol should be static

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH] MIPS: RM7000: Symbol should be static
From: Ricardo Mendoza <ricmm@gentoo.org>
Date: Fri, 6 Aug 2010 11:12:57 -0430
Cc: Ricardo Mendoza <ricmm@gentoo.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
arch/mips/mm/sc-rm7k.c defines tcache_size globally.

Make it static.

Signed-off-by: Ricardo Mendoza <ricmm@gentoo.org>
---
 arch/mips/mm/sc-rm7k.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/mm/sc-rm7k.c b/arch/mips/mm/sc-rm7k.c
index 1ef75cd..274af3b 100644
--- a/arch/mips/mm/sc-rm7k.c
+++ b/arch/mips/mm/sc-rm7k.c
@@ -30,7 +30,7 @@
 #define tc_lsize       32
 
 extern unsigned long icache_way_size, dcache_way_size;
-unsigned long tcache_size;
+static unsigned long tcache_size;
 
 #include <asm/r4kcache.h>
 
-- 
1.6.4.4


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