summaryrefslogtreecommitdiff
path: root/arch/sparc/mm/tsb.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-17 01:26:02 +0400
committerDavid S. Miller <davem@davemloft.net>2014-05-19 06:01:32 +0400
commit8c7260c0d9a6fa327546af724fb48375df493326 (patch)
tree0f25aa85da319633ecce108ca49b4553a28d7072 /arch/sparc/mm/tsb.c
parentc19ac3260c86199fd0339b719f44593c44b1d4f1 (diff)
downloadlinux-8c7260c0d9a6fa327546af724fb48375df493326.tar.xz
sparc64: fix sparse warning in tsb.c
Fix following warning: tsb.c:290:5: warning: symbol 'sysctl_tsb_ratio' was not declared. Should it be static? Add extern declaration in asm/setup.h and remove local declaration in kernel/sysctl.c Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm/tsb.c')
-rw-r--r--arch/sparc/mm/tsb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/mm/tsb.c b/arch/sparc/mm/tsb.c
index f5d506fdddad..33ca9360f591 100644
--- a/arch/sparc/mm/tsb.c
+++ b/arch/sparc/mm/tsb.c
@@ -9,6 +9,7 @@
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/mmu_context.h>
+#include <asm/setup.h>
#include <asm/tsb.h>
#include <asm/tlb.h>
#include <asm/oplib.h>