[PATCH] riscv: Fixup compile error with !MMU

Palmer Dabbelt palmer at rivosinc.com
Tue Dec 13 09:39:26 PST 2022


On Wed, 7 Dec 2022 04:11:12 -0500, guoren at kernel.org wrote:
> From: Guo Ren <guoren at linux.alibaba.com>
> 
> 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);
>       |                           ^~~~~~~
> 
> [...]

Applied, thanks!

[1/1] riscv: Fixup compile error with !MMU
      https://git.kernel.org/palmer/c/c528ef0888b7

Best regards,
-- 
Palmer Dabbelt <palmer at rivosinc.com>



More information about the linux-riscv mailing list