Change-Id: I2a195cad57fe76f2ea3a45d115ec85dd02f21230
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
DEFINE_PER_CPU(struct kprobe *, current_kprobe) = NULL;
static DEFINE_PER_CPU(struct kprobe_ctlblk, kprobe_ctlblk);
-DEFINE_SPINLOCK(kretprobe_lock); /* Protects kretprobe_inst_table */
-EXPORT_SYMBOL_GPL(kretprobe_lock);
+static DEFINE_SPINLOCK(kretprobe_lock); /* Protects kretprobe_inst_table */
static DEFINE_PER_CPU(struct kprobe *, kprobe_instance) = NULL;
struct hlist_head kprobe_table[KPROBE_TABLE_SIZE];
#endif
extern DEFINE_PER_CPU (struct kprobe *, current_kprobe);
-extern spinlock_t kretprobe_lock;
extern struct hlist_head kprobe_table[KPROBE_TABLE_SIZE];
//extern struct hlist_head kretprobe_inst_table[KPROBE_TABLE_SIZE];
extern atomic_t kprobe_count;