]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/kernel/kprobes.c
kprobes: Make functions static
[net-next-2.6.git] / arch / x86 / kernel / kprobes.c
index 770ebfb349e93efe3367cf0c6caff93b61b8b884..05c20a48841edf74320793d88ae338c90168c7d7 100644 (file)
@@ -1129,7 +1129,7 @@ static void __kprobes synthesize_set_arg1(kprobe_opcode_t *addr,
        *(unsigned long *)addr = val;
 }
 
-void __kprobes kprobes_optinsn_template_holder(void)
+static void __used __kprobes kprobes_optinsn_template_holder(void)
 {
        asm volatile (
                        ".global optprobe_template_entry\n"