aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-16 17:26:02 -0400
committerDavid S. Miller <davem@davemloft.net>2014-05-18 22:01:32 -0400
commit8c7260c0d9a6fa327546af724fb48375df493326 (patch)
tree0f25aa85da319633ecce108ca49b4553a28d7072 /kernel
parentc19ac3260c86199fd0339b719f44593c44b1d4f1 (diff)
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 'kernel')
-rw-r--r--kernel/sysctl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 74f5b580fe34..3c202d00f6e8 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -152,10 +152,6 @@ static unsigned long hung_task_timeout_max = (LONG_MAX/HZ);
152#ifdef CONFIG_SPARC 152#ifdef CONFIG_SPARC
153#endif 153#endif
154 154
155#ifdef CONFIG_SPARC64
156extern int sysctl_tsb_ratio;
157#endif
158
159#ifdef __hppa__ 155#ifdef __hppa__
160extern int pwrsw_enabled; 156extern int pwrsw_enabled;
161#endif 157#endif