ARM: 7864/1: Handle 64-bit memory in case of 32-bit phys_addr_t
authorMagnus Damm <damm@opensource.se>
Tue, 22 Oct 2013 16:59:54 +0000 (17:59 +0100)
committerJiri Slaby <jslaby@suse.cz>
Wed, 26 Mar 2014 08:50:07 +0000 (09:50 +0100)
commit1e9a0925a3e8dc5705eb386cde8b7033d4fbc518
tree6439a0e47c3f8eef0054042808151b3d4c7827da
parentdec2e6e6bd7cc728a9b3091075dd17aef6b4c33c
ARM: 7864/1: Handle 64-bit memory in case of 32-bit phys_addr_t

commit 6d7d5da7d75c6df676c8b72d32b02ff024438f0c upstream.

Use CONFIG_ARCH_PHYS_ADDR_T_64BIT to determine
if ignoring or truncating of memory banks is
neccessary. This may be needed in the case of
64-bit memory bank addresses but when phys_addr_t
is kept 32-bit.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/arm/kernel/setup.c