]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32: fix sparse warnings in leon_smp.c
authorSam Ravnborg <sam@ravnborg.org>
Mon, 21 Apr 2014 19:39:44 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Apr 2014 05:12:27 +0000 (01:12 -0400)
commitabee89cbb36ca9ec8519348669ca443e1fe34f4c
tree60a8018b846b55899be18adf0592adc10f7d4367
parentd553d9dbabe6187e7671f0c4e00a7889541560f8
sparc32: fix sparse warnings in leon_smp.c

Fix following warnings:
leon_smp.c:133:6: warning: symbol 'leon_smp_setbroadcast' was not declared. Should it be static?
leon_smp.c:151:14: warning: symbol 'leon_smp_getbroadcast' was not declared. Should it be static?
leon_smp.c:269:6: warning: symbol 'leon_irq_rotate' was not declared. Should it be static?
leon_smp.c:355:6: warning: symbol 'leonsmp_ipi_interrupt' was not declared. Should it be static?
leon_smp.c:457:6: warning: symbol 'leon_cross_call_irq' was not declared. Should it be static?

Add static.
Remove unused functions.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/kernel.h
arch/sparc/kernel/leon_smp.c