diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-03-31 18:09:36 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2014-04-17 21:58:17 +0200 |
commit | 59078d4b96bb548f97d9fb429b929a289e4884d9 (patch) | |
tree | e0a2e2d9fe1480a9be083fe07945c0143dc371ff /init/do_mounts.h | |
parent | ddb69f276c4af8bb47ad4f24a72f72ddf58c228a (diff) | |
download | op-kernel-dev-59078d4b96bb548f97d9fb429b929a289e4884d9.zip op-kernel-dev-59078d4b96bb548f97d9fb429b929a289e4884d9.tar.gz |
uprobes/x86: Kill the "ia32_compat" check in handle_riprel_insn(), remove "mm" arg
Kill the "mm->context.ia32_compat" check in handle_riprel_insn(), if
it is true insn_rip_relative() must return false. validate_insn_bits()
passed "ia32_compat" as !x86_64 to insn_init(), and insn_rip_relative()
checks insn->x86_64.
Also, remove the no longer needed "struct mm_struct *mm" argument and
the unnecessary "return" at the end.
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>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions