aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorGuo Ren <[email protected]>2022-12-07 09:11:12 +0000
committerPalmer Dabbelt <[email protected]>2022-12-13 16:25:33 +0000
commitc528ef0888b75f673f7d48022de8d31d5b451e8c (patch)
tree91b8e9b8161f406ca8f0fe5aa4fe1ff426a15185 /lib/fault-inject.c
parentriscv: Fix P4D_SHIFT definition for 3-level page table mode (diff)
downloadkernel-c528ef0888b75f673f7d48022de8d31d5b451e8c.tar.gz
kernel-c528ef0888b75f673f7d48022de8d31d5b451e8c.zip
riscv: Fixup compile error with !MMU
Current nommu_virt_defconfig can't compile: In file included from arch/riscv/kernel/crash_core.c:3: arch/riscv/kernel/crash_core.c: In function 'arch_crash_save_vmcoreinfo': arch/riscv/kernel/crash_core.c:8:27: error: 'VA_BITS' undeclared (first use in this function) 8 | VMCOREINFO_NUMBER(VA_BITS); | ^~~~~~~ Add MMU dependency for KEXEC_FILE. Fixes: 6261586e0c91 ("RISC-V: Add kexec_file support") Reported-by: Conor Dooley <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Guo Ren <[email protected]> Signed-off-by: Guo Ren <[email protected]> Tested-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions