summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.h
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-03-31 18:09:36 +0200
committerOleg Nesterov <oleg@redhat.com>2014-04-17 21:58:17 +0200
commit59078d4b96bb548f97d9fb429b929a289e4884d9 (patch)
treee0a2e2d9fe1480a9be083fe07945c0143dc371ff /init/do_mounts.h
parentddb69f276c4af8bb47ad4f24a72f72ddf58c228a (diff)
downloadop-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
OpenPOWER on IntegriCloud