]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 7863/1: Let arm_add_memory() always use 64-bit arguments
authorMagnus Damm <damm@opensource.se>
Tue, 22 Oct 2013 16:53:16 +0000 (17:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 29 Oct 2013 11:06:28 +0000 (11:06 +0000)
commit6953cb43395f35bb42143078e266896868e64e92
tree4da123acd2de19c44db24d4e12004a27805e3638
parent26d62aa768157d8a802be33e5bc21a6bc4e6f837
ARM: 7863/1: Let arm_add_memory() always use 64-bit arguments

The DTB and/or the kernel command line may pass
64-bit addresses regardless of kernel configuration,
so update arm_add_memory() to take 64-bit arguments
independently of the phys_addr_t size.

This allows non-wrapping handling of high memory
banks such as the second memory bank of APE6EVM
(at 0x2_0000_0000) in case of 32-bit phys_addr_t.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/setup.h
arch/arm/kernel/setup.c