uprobes: Rename vma_address() and make it return "unsigned long"
authorOleg Nesterov <oleg@redhat.com>
Sun, 29 Jul 2012 18:22:47 +0000 (20:22 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 30 Jul 2012 09:27:25 +0000 (11:27 +0200)
commit57683f72b8c01c53c85fe13e82fe1feb3a06bcd5
tree87014149ef710e9f3c0af87cd6ec3118fc4eb723
parentf4d6dfe55115efe981b4b5f37183ddccaaa792f0
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>
kernel/events/uprobes.c