diff options
author | 2008-02-14 15:23:53 -0800 | |
---|---|---|
committer | 2008-02-19 16:18:28 +0100 | |
commit | f1452d424dc0e079fb97af8cb8d3a0f7b5fddd46 (patch) | |
tree | 65ab910d2deff5622bdb8a6ad1a2d4430bfd965c /arch/x86/kernel/io_delay.c | |
parent | remove mca-pentium (diff) | |
download | wireguard-linux-f1452d424dc0e079fb97af8cb8d3a0f7b5fddd46.tar.xz wireguard-linux-f1452d424dc0e079fb97af8cb8d3a0f7b5fddd46.zip |
x86, kprobes: remove sparse warnings from x86
arch/x86/kernel/kprobes.c:584:16: warning: symbol 'kretprobe_trampoline_holder' was not declared. Should it be static?
arch/x86/kernel/kprobes.c:676:6: warning: symbol 'trampoline_handler' was not declared. Should it be static?
Make them static and add the __used attribute, approach taken from the
arm kprobes implementation.
kretprobe_trampoline_holder uses inline assemly to define the global
symbol kretprobe_trampoline, but nothing ever calls the holder explicitly.
trampoline handler is only called from inline assembly in the same file,
mark it used and static.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/io_delay.c')
0 files changed, 0 insertions, 0 deletions