aboutsummaryrefslogtreecommitdiffstats
path: root/security
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 /security
parentARM: 8499/1: irq: l2c: do not print error in case of missing l2c from (diff)
downloadlinux-dev-2841029393fad551b49b6de34d44bfa9ef256441.tar.xz
linux-dev-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 'security')
0 files changed, 0 insertions, 0 deletions