commit | e48866647b486f31ff7c3927b48de8bbb1c6a4c0 | [log] [tgz] |
---|---|---|
author | Vitaly Andrianov <vitalya@ti.com> | Fri Jun 26 17:13:03 2015 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Mon Jun 29 11:16:09 2015 +0100 |
tree | bd8b7408022cdb4735e95371b96c2b081da0b3f1 | |
parent | 3de1f52a3ae823265299409e276f56cdadddc310 [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>