]> bbs.cooldavid.org Git - net-next-2.6.git/commit
kprobes: Make functions static
authorNamhyung Kim <namhyung@gmail.com>
Wed, 15 Sep 2010 01:04:28 +0000 (10:04 +0900)
committerIngo Molnar <mingo@elte.hu>
Wed, 15 Sep 2010 08:44:01 +0000 (10:44 +0200)
commit6376b2297502e72255b7eb2893c6044ad5a7b5f4
tree8ceebb98c5a324580b1e9ce648ded86db2dd85fc
parent05662bdb64c746079de7ac4dc4fb4caa5e8e119f
kprobes: Make functions static

Make following (internal) functions static to make sparse
happier :-)

 * get_optimized_kprobe: only called from static functions
 * kretprobe_table_unlock: _lock function is static
 * kprobes_optinsn_template_holder: never called but holding asm code

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
LKML-Reference: <1284512670-2369-4-git-send-email-namhyung@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/kprobes.c
kernel/kprobes.c