sparc64: fix sparse warnings in kprobes.c
authorSam Ravnborg <sam@ravnborg.org>
Fri, 16 May 2014 21:26:03 +0000 (23:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2014 02:01:32 +0000 (19:01 -0700)
commit2f827ea7cee8c1fe9a516dab2fc1686da38cbed0
tree11b2c65ed50abbec4ec7afabf0a8e006b13adf9c
parent8c7260c0d9a6fa327546af724fb48375df493326
sparc64: fix sparse warnings in kprobes.c

Fix following warnings:
kprobes.c:515:15: warning: symbol 'trampoline_probe_handler' was not declared. Should it be static?
kprobes.c:579:6: warning: symbol 'kretprobe_trampoline_holder' was not declared. Should it be static?

Declare the functions static.
kretprobe_trampoline_holder is magically used without any real
reference so mark is __used, like other arch's do too.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/kprobes.c