diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-07-29 18:22:47 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-07-30 09:27:25 (GMT) |
commit | 57683f72b8c01c53c85fe13e82fe1feb3a06bcd5 (patch) | |
tree | 87014149ef710e9f3c0af87cd6ec3118fc4eb723 /kernel/trace/trace.h | |
parent | f4d6dfe55115efe981b4b5f37183ddccaaa792f0 (diff) | |
download | linux-fsl-qoriq-57683f72b8c01c53c85fe13e82fe1feb3a06bcd5.tar.xz |
uprobes: Rename vma_address() and make it return "unsigned long"
1. vma_address() returns loff_t, this looks confusing and this
is unnecessary after the previous change. Make it return "ulong",
all callers truncate the result anyway.
2. Its name conflicts with mm/rmap.c:vma_address(), rename it to
offset_to_vaddr(), this matches vaddr_to_offset().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar.vnet.ibm.com>
Cc: Anton Arapov <anton@redhat.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20120729182247.GA20365@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/trace/trace.h')
0 files changed, 0 insertions, 0 deletions