sparc: fix sparse warnings in smp_32.c + smp_64.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 16 May 2014 21:26:05 +0000 (23:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 02:01:33 +0000 (19:01 -0700)
commitd3091298570006fa538ec9beacbfb1098964962e
treee23801cab121456b4890560b6468a448fd20cc2a
parent265c1ffa593a1759a59441a93b4c7e5ed0d176c6
sparc: fix sparse warnings in smp_32.c + smp_64.c

Fix following warnings:
smp_32.c:177:5: warning: symbol 'setup_profiling_timer' was not declared. Should it be static?
smp_64.c:1202:5: warning: symbol 'setup_profiling_timer' was not declared. Should it be static?
smp_64.c:989:6: warning: symbol 'kgdb_roundup_cpus' was not declared. Should it be static?

Add prototype to include/linux/profile.h of setup_profiling_timer
Add missing include to smp_64.c

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/smp_32.c
arch/sparc/kernel/smp_64.c
include/linux/profile.h