summaryrefslogtreecommitdiff
path: root/arch/sparc/mm
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-05-17 01:26:07 +0400
committerDavid S. Miller <davem@davemloft.net>2014-05-19 06:01:34 +0400
commit59dec13b2736117c35e2432fc6e241263f7b4a9b (patch)
tree15cec365a2c6c6268151777bdebad48d0c56abda /arch/sparc/mm
parent756382cb5743b8f5c8383672928f0bd955d82a7a (diff)
downloadlinux-59dec13b2736117c35e2432fc6e241263f7b4a9b.tar.xz
sparc64: fix sparse warnings in init_64.c
Fix following warnings: init_64.c:191:10: warning: symbol 'dcpage_flushes' was not declared. Should it be static? init_64.c:193:10: warning: symbol 'dcpage_flushes_xcall' was not declared. Should it be static? Add extern declaration to asm/setup.h and drop local declaration in smp_64.h Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r--arch/sparc/mm/init_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c
index eafbc65c9c47..0ebe2fde6671 100644
--- a/arch/sparc/mm/init_64.c
+++ b/arch/sparc/mm/init_64.c
@@ -47,6 +47,7 @@
#include <asm/prom.h>
#include <asm/mdesc.h>
#include <asm/cpudata.h>
+#include <asm/setup.h>
#include <asm/irq.h>
#include "init_64.h"