android_kernel_samsung_a7y1.../arch
Vincenzo Frascino 6db10c415c ARM: 8951/1: Fix Kexec compilation issue.
[ Upstream commit 76950f7162cad51d2200ebd22c620c14af38f718 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:57:08 +02:00
..
alpha
arc ARC: [plat-axs10x]: Add missing multicast filter number to GMAC node 2020-04-07 13:54:37 +02:00
arm ARM: 8951/1: Fix Kexec compilation issue. 2020-04-07 13:57:08 +02:00
arm64 arm64: kbuild: remove compressed images on 'make ARCH=arm64 (dist)clean' 2020-04-07 13:48:08 +02:00
avr32
blackfin
c6x
cris
frv
h8300 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux- 2020-04-06 14:21:05 +02:00
hexagon hexagon: work around compiler crash 2020-04-07 13:37:21 +02:00
ia64 ia64:unwind: fix double free for mod->arch.init_unw_table 2020-04-07 07:38:19 +02:00
m32r
m68k m68k: Call timer_interrupt() with interrupts disabled 2020-04-07 13:44:29 +02:00
metag
microblaze microblaze: move "... is ready" messages to arch/microblaze/Makefile 2020-04-07 12:41:36 +02:00
mips MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init() 2020-04-07 13:55:46 +02:00
mn10300
nios2 nios2: ksyms: Add missing symbol exports 2020-04-07 13:40:50 +02:00
openrisc openrisc: Fix broken paths to arch/or32 2020-04-07 12:42:07 +02:00
parisc parisc: Fix compiler warnings in debug_core.c 2020-04-07 13:29:00 +02:00
powerpc powerpc/pseries: Allow not having ibm, hypertas-functions::hcall-multi-tce for DDW 2020-04-07 13:54:43 +02:00
s390 s390/ftrace: generate traced function stack frame 2020-04-07 13:57:03 +02:00
score
sh pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs 2020-04-07 13:56:29 +02:00
sparc sparc32: fix struct ipc64_perm type definition 2020-04-07 13:49:17 +02:00
tile locking/x86: Remove the unused atomic_inc_short() methd 2020-04-07 13:25:08 +02:00
um um: Make GCOV depend on !KCOV 2020-04-07 12:42:32 +02:00
unicore32
x86 x86/vdso: Provide missing include file 2020-04-07 13:56:27 +02:00
xtensa xtensa: fix TLB sanity checker 2020-04-07 13:12:45 +02:00
Kconfig