summaryrefslogtreecommitdiff
path: root/uprobe
diff options
context:
space:
mode:
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>2013-03-29 21:13:18 +0400
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>2013-03-29 21:13:18 +0400
commite6f76a5de78b2a10043ed3d64387e276a1aa9a76 (patch)
tree6ffc1083c8fced28a3bc7b2c77970f1acc3b34bc /uprobe
parente52d1d58f80b3e1d1e51901bfa2b90706e83d614 (diff)
downloadswap-modules-e6f76a5de78b2a10043ed3d64387e276a1aa9a76.tar.gz
swap-modules-e6f76a5de78b2a10043ed3d64387e276a1aa9a76.tar.bz2
swap-modules-e6f76a5de78b2a10043ed3d64387e276a1aa9a76.zip
[REFACTOR] remove 'US_NOT_RP2' flag
Diffstat (limited to 'uprobe')
-rw-r--r--uprobe/swap_uprobes.c2
-rw-r--r--uprobe/swap_uprobes.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/uprobe/swap_uprobes.c b/uprobe/swap_uprobes.c
index 2e44ffc5..99cfbba2 100644
--- a/uprobe/swap_uprobes.c
+++ b/uprobe/swap_uprobes.c
@@ -897,7 +897,7 @@ int dbi_disarm_urp_inst_for_task(struct task_struct *parent, struct task_struct
}
EXPORT_SYMBOL_GPL(dbi_disarm_urp_inst_for_task);
-void dbi_unregister_uretprobe(struct uretprobe *rp, int atomic, int not_rp2)
+void dbi_unregister_uretprobe(struct uretprobe *rp, int atomic)
{
unsigned long flags;
struct uretprobe_instance *ri;
diff --git a/uprobe/swap_uprobes.h b/uprobe/swap_uprobes.h
index 15d3d1ec..1d96dccc 100644
--- a/uprobe/swap_uprobes.h
+++ b/uprobe/swap_uprobes.h
@@ -87,7 +87,7 @@ int dbi_register_ujprobe(struct ujprobe *jp, int atomic);
void dbi_unregister_ujprobe(struct ujprobe *jp, int atomic);
int dbi_register_uretprobe(struct uretprobe *rp, int atomic);
-void dbi_unregister_uretprobe(struct uretprobe *rp, int atomic, int not_rp2);
+void dbi_unregister_uretprobe(struct uretprobe *rp, int atomic);
void dbi_unregister_all_uprobes(struct task_struct *task, int atomic);