From: Dave Airlie <airl...@redhat.com> DRM/TTM wants to use this for it's page pool LRU tracking.
This effective is a revert of 78c0ed09131b772f062b986a2fcca6600daa6285 Author: Kairui Song <kas...@tencent.com> Date: Tue Nov 5 01:52:53 2024 +0800 mm/list_lru: don't export list_lru_add Cc: Kairui Song <kas...@tencent.com> Cc: Johannes Weiner <han...@cmpxchg.org> Cc: Shakeel Butt <shakeel.b...@linux.dev> Signed-off-by: Dave Airlie <airl...@redhat.com> --- mm/list_lru.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/list_lru.c b/mm/list_lru.c index 490473af3122..315362e3df3d 100644 --- a/mm/list_lru.c +++ b/mm/list_lru.c @@ -175,6 +175,7 @@ bool list_lru_add(struct list_lru *lru, struct list_head *item, int nid, unlock_list_lru(l, false); return false; } +EXPORT_SYMBOL_GPL(list_lru_add); bool list_lru_add_obj(struct list_lru *lru, struct list_head *item) { -- 2.49.0