From 21a14c490c757dc20d5f83565d0752b42121b511 Mon Sep 17 00:00:00 2001 From: Vyacheslav Cherkashin Date: Fri, 5 Sep 2014 17:31:11 +0400 Subject: [PATCH] [FIX] declares swap_current_kprobe Change-Id: Iae7152e5088bbbd67bbe99abba44d78bf2b58db7 Signed-off-by: Vyacheslav Cherkashin --- kprobe/swap_kprobes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kprobe/swap_kprobes.h b/kprobe/swap_kprobes.h index 4e99c60..592b5eb 100644 --- a/kprobe/swap_kprobes.h +++ b/kprobe/swap_kprobes.h @@ -298,7 +298,7 @@ int swap_disarm_urp_inst_for_task(struct task_struct *parent, struct task_struct int trampoline_probe_handler (struct kprobe *p, struct pt_regs *regs); -extern DEFINE_PER_CPU(struct kprobe *, swap_current_kprobe); +DECLARE_PER_CPU(struct kprobe *, swap_current_kprobe); extern struct hlist_head kprobe_table[KPROBE_TABLE_SIZE]; //extern struct hlist_head kretprobe_inst_table[KPROBE_TABLE_SIZE]; extern atomic_t kprobe_count; -- 2.7.4