aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-02-27 10:42:56 +0100
committerPaul Burton <paul.burton@mips.com>2019-02-27 18:49:29 -0800
commite0bf304e4a00d66d90904a6c5b93141f177cf6d2 (patch)
treead4311bb161fcb8976279002a4b807eb9bb4fd9c /arch/nios2
parentMIPS: BCM63XX: provide DMA masks for ethernet devices (diff)
downloadlinux-dev-e0bf304e4a00d66d90904a6c5b93141f177cf6d2.tar.xz
linux-dev-e0bf304e4a00d66d90904a6c5b93141f177cf6d2.zip
MIPS: fix memory setup for platforms with PHYS_OFFSET != 0
For platforms, which use a PHYS_OFFSET != 0, symbol _end also contains that offset. So when calling memblock_reserve() for reserving kernel the size argument needs to be adjusted. Fixes: bcec54bf3118 ("mips: switch to NO_BOOTMEM") Acked-by: Mike Rapoport <rppt@linux.ibm.com> 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 Cc: Mike Rapoport <rppt@linux.vnet.ibm.com> Cc: stable@vger.kernel.org # v4.20+
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions