From 7673aeaa159414230d0c3d373bf9eec3eb71041c 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 103fc5d8..205f096e 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)