summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/perf_event_v6.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-01-11 17:15:58 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2016-02-08 15:47:28 +0000
commit2841029393fad551b49b6de34d44bfa9ef256441 (patch)
tree8e4d1040e2a6cba7a1a09729abad19fe7c0a50c8 /arch/arm/kernel/perf_event_v6.c
parent9023cc8268c6ba358417d31112ed96e1feb73e56 (diff)
downloadblackbird-obmc-linux-2841029393fad551b49b6de34d44bfa9ef256441.tar.gz
blackbird-obmc-linux-2841029393fad551b49b6de34d44bfa9ef256441.zip
ARM: make virt_to_idmap() return unsigned long
Make virt_to_idmap() return an unsigned long rather than phys_addr_t. Returning phys_addr_t here makes no sense, because the definition of virt_to_idmap() is that it shall return a physical address which maps identically with the virtual address. Since virtual addresses are limited to 32-bit, identity mapped physical addresses are as well. Almost all users already had an implicit narrowing cast to unsigned long so let's make this official and part of this interface. Tested-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/perf_event_v6.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud