sparc64: fix sparse warnings in init_64.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 16 May 2014 21:26:07 +0000 (23:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 02:01:34 +0000 (19:01 -0700)
commit59dec13b2736117c35e2432fc6e241263f7b4a9b
tree15cec365a2c6c6268151777bdebad48d0c56abda
parent756382cb5743b8f5c8383672928f0bd955d82a7a
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>
arch/sparc/include/asm/setup.h
arch/sparc/kernel/smp_64.c
arch/sparc/mm/init_64.c