summaryrefslogtreecommitdiffstats
path: root/kernel/events/uprobes.c
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2012-08-07 15:51:06 +0200
committerAnton Arapov <anton@redhat.com>2012-11-01 13:44:50 +0100
commitcab530078f8c7ad7d299a83d2739eaef03bac905 (patch)
tree27b251047e17430cb1077f5ed42040d4b29ef18f /kernel/events/uprobes.c
parent0ab1ca172ef0277d88b15f71679a744aa2b2425c (diff)
downloadkernel-uprobes-f17_uprobes_out.tar.gz
kernel-uprobes-f17_uprobes_out.tar.xz
kernel-uprobes-f17_uprobes_out.zip
uprobes: add exports necessary for uprobes use by modulesf17_uprobes_out
ssia. Signed-off-by: Anton Arapov <anton@redhat.com>
Diffstat (limited to 'kernel/events/uprobes.c')
-rw-r--r--kernel/events/uprobes.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c
index 776fd622e75..b760608ef33 100644
--- a/kernel/events/uprobes.c
+++ b/kernel/events/uprobes.c
@@ -27,6 +27,7 @@
#include <linux/pagemap.h> /* read_mapping_page */
#include <linux/slab.h>
#include <linux/sched.h>
+#include <linux/export.h>
#include <linux/rmap.h> /* anon_vma_prepare */
#include <linux/mmu_notifier.h> /* set_pte_at_notify */
#include <linux/swap.h> /* try_to_free_swap */
@@ -1039,6 +1040,7 @@ int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *
return ret;
}
+EXPORT_SYMBOL_GPL(uprobe_register);
/*
* uprobe_unregister - unregister a already registered probe.
@@ -1070,6 +1072,7 @@ void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consume
if (uprobe)
put_uprobe(uprobe);
}
+EXPORT_SYMBOL_GPL(uprobe_unregister);
/*
* uretprobe_register - register return probe
@@ -1135,6 +1138,7 @@ int uretprobe_register(struct inode *inode, loff_t offset, struct uretprobe_cons
return 0;
}
+EXPORT_SYMBOL_GPL(uretprobe_register);
void uretprobe_unregister(struct inode *inode, loff_t offset, struct uretprobe_consumer *rpc)
{
@@ -1178,6 +1182,7 @@ void uretprobe_unregister(struct inode *inode, loff_t offset, struct uretprobe_c
unlock_uretprobe:
put_uprobe(uprobe);
}
+EXPORT_SYMBOL_GPL(uretprobe_unregister);
static struct rb_node *
find_node_in_range(struct inode *inode, loff_t min, loff_t max)