ARM: LPAE: use phys_addr_t for initrd location
authorVitaly Andrianov <vitalya@ti.com>
Fri, 22 Jun 2012 18:26:04 +0000 (14:26 -0400)
committerWill Deacon <will.deacon@arm.com>
Thu, 30 May 2013 15:01:59 +0000 (16:01 +0100)
commitde22cc6e33449d8d6fb339619e32138ea4fcc2a4
tree5825f720b9e1142cc8083ef81e176675a427e77f
parent56bc628666b39dc8cb395c7686d8c032efd731f4
ARM: LPAE: use phys_addr_t for initrd location

This patch fixes the initrd setup code to use phys_addr_t instead of assuming
32-bit addressing.  Without this we cannot boot on systems where initrd is
located above the 4G physical address limit.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Subash Patel <subash.rp@samsung.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/mm/init.c