]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63babc124599455fc2fcdc162724ca389a56948a
tree15cec365a2c6c6268151777bdebad48d0c56abda
parentc86f5633ca75c3b4a6ab88d82240b4e3508c6fe7
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