Vincenzo Frascino 76950f7162 ARM: 8951/1: Fix Kexec compilation issue.
To perform the reserve_crashkernel() operation kexec uses SECTION_SIZE to
find a memblock in a range.
SECTION_SIZE is not defined for nommu systems. Trying to compile kexec in
these conditions results in a build error:

  linux/arch/arm/kernel/setup.c: In function ‘reserve_crashkernel’:
  linux/arch/arm/kernel/setup.c:1016:25: error: ‘SECTION_SIZE’ undeclared
     (first use in this function); did you mean ‘SECTIONS_WIDTH’?
             crash_size, SECTION_SIZE);
                         ^~~~~~~~~~~~
                         SECTIONS_WIDTH
  linux/arch/arm/kernel/setup.c:1016:25: note: each undeclared identifier
     is reported only once for each function it appears in
  linux/scripts/Makefile.build:265: recipe for target 'arch/arm/kernel/setup.o'
     failed

Make KEXEC depend on MMU to fix the compilation issue.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2020-01-25 18:18:28 +00:00
..
2019-09-03 22:09:46 +02:00
2019-12-06 16:12:39 -08:00
2019-10-22 17:37:29 +01:00
2019-09-30 10:04:28 -07:00
2019-07-19 17:05:08 -07:00
2019-12-05 11:38:40 -08:00
2019-07-19 17:05:08 -07:00
2019-06-17 05:14:24 -07:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2019-12-05 11:38:40 -08:00
2019-11-28 11:16:43 -08:00
2019-09-22 09:39:09 -07:00
2019-09-22 09:39:09 -07:00