aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2012-07-29 20:22:42 +0200
committerIngo Molnar <[email protected]>2012-07-30 11:27:24 +0200
commitcb113b47d098185f3f1f67e8300d05ddce842b66 (patch)
tree86601eb6728a4142e94e4cc3e45697840f6b0768 /lib/mpi/mpi-internal.h
parent891c39708144bbe401b4aa151bffd0fe41b1dafd (diff)
uprobes: Introduce vaddr_to_offset(vma, vaddr)
Add the new helper, vaddr_to_offset(vma, vaddr) which returns the offset in vma->vm_file this vaddr is mapped at. Change build_probe_list() and find_active_uprobe() to use the new helper, the next patch adds another user. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Srikar Dronamraju <srikar.vnet.ibm.com> Cc: Anton Arapov <[email protected]> Cc: Srikar Dronamraju <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions