]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: init: Fix reservation of memory between PHYS_OFFSET and mem start
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Tue, 24 Sep 2019 15:19:56 +0000 (17:19 +0200)
committerPaul Burton <paul.burton@mips.com>
Wed, 2 Oct 2019 21:10:16 +0000 (14:10 -0700)
commitb1af856e65218a182c79f1c12f63d371849a7707
tree136a9fd293ec2b047161c0ec9a1c57264a4490a3
parent07f78128bb0346058d4915aaff9945b8892a7ecc
MIPS: init: Fix reservation of memory between PHYS_OFFSET and mem start

Fix calculation of the size for reserving memory between PHYS_OFFSET
and real memory start.

Fixes: 84d220b74bdd ("MIPS: init: Drop boot_mem_map")
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/kernel/setup.c