]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix build with CONFIG_PROC_VMCORE=y
authorPaul Burton <paul.burton@mips.com>
Fri, 23 Aug 2019 17:00:38 +0000 (18:00 +0100)
committerPaul Burton <paul.burton@mips.com>
Fri, 23 Aug 2019 17:02:49 +0000 (18:02 +0100)
commit3012edd61acb2eed9a16a42ced6c681f29af4b49
treeb9b5a02906c43e9aae02fae023930d47270b5d63
parent63ff5af065f6bcd6f46fb267f55960e7a1a29a66
MIPS: Fix build with CONFIG_PROC_VMCORE=y

Commit 1f4f7deaef04 ("MIPS: init: Drop boot_mem_map") introduced a
reference to a non-existant "end" field in struct memblock_region.
Replace it with a sum of the base & size fields to fix builds with
CONFIG_PROC_VMCORE=y.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
arch/mips/kernel/setup.c