linux-stable/arch
Vincenzo Frascino 26b1c4da29 ARM: 8951/1: Fix Kexec compilation issue.
[ Upstream commit 76950f7162 ]

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-02-28 16:36:07 +01:00
..
alpha
arc ARC: [plat-axs10x]: Add missing multicast filter number to GMAC node 2020-02-14 16:32:22 -05:00
arm ARM: 8951/1: Fix Kexec compilation issue. 2020-02-28 16:36:07 +01:00
arm64 arm64: fix alternatives with LLVM's integrated assembler 2020-02-28 16:36:05 +01:00
blackfin
c6x
cris
frv
h8300 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux- 2019-04-05 22:31:25 +02:00
hexagon hexagon: work around compiler crash 2020-01-17 19:45:55 +01:00
ia64 ia64:unwind: fix double free for mod->arch.init_unw_table 2019-10-05 12:47:48 +02:00
m32r
m68k m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:46:54 +01:00
metag
microblaze microblaze: move "... is ready" messages to arch/microblaze/Makefile 2019-12-05 15:37:21 +01:00
mips MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init() 2020-02-28 16:35:57 +01:00
mn10300
nios2 nios2: ksyms: Add missing symbol exports 2020-01-27 14:46:24 +01:00
openrisc openrisc: Fix broken paths to arch/or32 2019-12-05 15:37:38 +01:00
parisc parisc: Fix compiler warnings in debug_core.c 2020-01-12 12:12:01 +01:00
powerpc powerpc/sriov: Remove VF eeh_dev state when disabling SR-IOV 2020-02-28 16:36:06 +01:00
s390 s390/ftrace: generate traced function stack frame 2020-02-28 16:36:06 +01:00
score
sh pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs 2020-02-28 16:36:02 +01:00
sparc sparc: Add .exit.data section. 2020-02-28 16:35:57 +01:00
tile
um um: Make GCOV depend on !KCOV 2019-12-05 15:37:49 +01:00
unicore32
x86 x86/decoder: Add TEST opcode to Group3-2 2020-02-28 16:36:06 +01:00
xtensa xtensa: fix TLB sanity checker 2019-12-21 10:47:43 +01:00
.gitignore
Kconfig