uprobes/x86: Gather "riprel" functions together
authorOleg Nesterov <oleg@redhat.com>
Mon, 31 Mar 2014 16:35:09 +0000 (18:35 +0200)
committerOleg Nesterov <oleg@redhat.com>
Thu, 17 Apr 2014 19:58:17 +0000 (21:58 +0200)
commitd20737c07a1063d681fe9fb86f3da369da1edab7
treecdac2c07d45ab97a9238f8c324a93857bd4016fe
parent59078d4b96bb548f97d9fb429b929a289e4884d9
uprobes/x86: Gather "riprel" functions together

Cosmetic. Move pre_xol_rip_insn() and handle_riprel_post_xol() up to
the closely related handle_riprel_insn(). This way it is simpler to
read and understand this code, and this lessens the number of ifdef's.

While at it, update the comment in handle_riprel_post_xol() as Jim
suggested.

TODO: rename them somehow to make the naming consistent.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
arch/x86/kernel/uprobes.c