From cd868b5bda97dc64a843fb7b9a97ebb85737af1f Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Mon, 8 Dec 2025 16:23:56 -0800 Subject: [PATCH] Fix compat for list_lru_walk in el10 In el10, we don't need compat for list_lru_walk, as was intended in 8b6418fb. However, the actual redefine from kc_list_lru_walk to list_lru_walk was omitted. It wasn't needed until el10. Add it now. Signed-off-by: Auke Kok --- kmod/src/kernelcompat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kmod/src/kernelcompat.h b/kmod/src/kernelcompat.h index 9a6d224d..9df5e6a4 100644 --- a/kmod/src/kernelcompat.h +++ b/kmod/src/kernelcompat.h @@ -489,6 +489,7 @@ unsigned long kc_list_lru_shrink_walk(struct list_lru *lru, struct shrink_contro kc_list_lru_walk_cb_t isolate, void *cb_arg); #else #define kc_list_lru_shrink_walk list_lru_shrink_walk +#define kc_list_lru_walk list_lru_walk #endif #if defined(KC_LIST_LRU_WALK_CB_ITEM_LOCK)