From ff5a16317f3ec2a7349abdb0f0bbc138e56cf6b9 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 7ac7f351..d4b482d8 100644 --- a/kmod/src/kernelcompat.h +++ b/kmod/src/kernelcompat.h @@ -242,6 +242,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 #ifndef KC_HAVE_GET_RANDOM_U32_BELOW