]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
MIPS: Merge overlapping bootmem ranges
authorRalf Baechle <ralf@linux-mips.org>
Thu, 15 Nov 2012 11:53:59 +0000 (12:53 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 Nov 2012 17:44:37 +0000 (18:44 +0100)
commit0ec7ec75f674dbf48010081383263771f2611e72
treeb2d3e71922151ad92074ff7e2f94ae33de5ed185
parentf4a75d2eb7b1e2206094b901be09adb31ba63681
MIPS: Merge overlapping bootmem ranges

Without this, we may end up with something like this in /proc/iomem:

01100000-014fffff : System RAM
  01100000-013bf48f : Kernel code
  013bf490-0149e01f : Kernel data
01500000-0c0fffff : System RAM

but the two System RAM ranges should be one single range.  This particular
case will result in kexec failure on Octeon systems if the kernel being
loaded by kexec is bigger than the already running kernel.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/setup.c