summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorVitaly Andrianov <vitalya@ti.com>2015-06-26 17:13:03 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-06-29 11:16:09 +0100
commite48866647b486f31ff7c3927b48de8bbb1c6a4c0 (patch)
treebd8b7408022cdb4735e95371b96c2b081da0b3f1 /kernel
parent3de1f52a3ae823265299409e276f56cdadddc310 (diff)
ARM: 8396/1: use phys_addr_t in pfn_to_kaddr()
This patch fixes pfn_to_kaddr() to use phys_addr_t. Without this, this macro is broken on LPAE systems. For physical addresses above first 4GB result of shifting pfn with PAGE_SHIFT may be truncated. Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Santosh Shilimkar <ssantosh@kernel.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions