From: George Guo kho_block.c calls virt_to_phys() and phys_to_virt(). With CONFIG_KFENCE=y, the LoongArch implementations use offset_in_page() and page_address(), which are provided by . Include explicitly to avoid implicit-declaration build errors for these helpers. Co-developed-by: Kexin Liu Signed-off-by: Kexin Liu Signed-off-by: George Guo --- kernel/liveupdate/kho_block.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/liveupdate/kho_block.c b/kernel/liveupdate/kho_block.c index 0d2a342ef422..0d56891b2f4c 100644 --- a/kernel/liveupdate/kho_block.c +++ b/kernel/liveupdate/kho_block.c @@ -25,6 +25,7 @@ #include #include #include +#include /* * Safeguard limit for the number of serialization blocks. This is used to -- 2.53.0