diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-07-29 20:22:47 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-07-30 11:27:25 +0200 |
commit | 57683f72b8c01c53c85fe13e82fe1feb3a06bcd5 (patch) | |
tree | 87014149ef710e9f3c0af87cd6ec3118fc4eb723 /drivers/hwmon/lm77.c | |
parent | f4d6dfe55115efe981b4b5f37183ddccaaa792f0 (diff) |
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 'drivers/hwmon/lm77.c')
0 files changed, 0 insertions, 0 deletions