]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Fix the XIP build
authorPalmer Dabbelt <palmer@rivosinc.com>
Wed, 20 Apr 2022 03:13:27 +0000 (20:13 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 25 May 2022 21:43:42 +0000 (14:43 -0700)
commit766fcf02930533cebc0a25e0d80892d8260aa1ac
tree1cc840fb1ebc782403e066cd00424487239bdb82
parentcb1c7ad84358cad4413ddaa7727e290bfb67114b
RISC-V: Fix the XIP build

A handful of functions unused functions were enabled during XIP builds,
which themselves didn't build correctly.  This just disables the
functions entirely.

Fixes: d20ee68dc310 ("riscv: Implement sv48 support")
Reviewed-by: Guo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/r/20220420184056.7886-5-palmer@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/init.c