Uprobes: Simplify uprobe_register() body
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Thu, 9 Aug 2018 04:18:51 +0000 (09:48 +0530)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 14 Aug 2018 00:07:06 +0000 (20:07 -0400)
commit38e967ae1e6022557e579f673fba544cf19cf1c6
treef2a24bdb6cc9c86bdcce9af5e64ac7e9e2531d74
parentf8a79d5c7ef47c62d97a30e16064caf2ef91f648
Uprobes: Simplify uprobe_register() body

Simplify uprobe_register() function body and let __uprobe_register()
handle everything. Also move dependency functions around to avoid build
failures.

Link: http://lkml.kernel.org/r/20180809041856.1547-2-ravi.bangoria@linux.ibm.com
Reviewed-by: Song Liu <songliubraving@fb.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/events/uprobes.c