ANDROID: mm: export lru_gen_caps

lru_gen_caps is exported to allow for lru_gen_enabled() to be used.

Bug: 369964379
Change-Id: Ic0a79eb19fd8da0232db1a63263be4184d960b4a
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
This commit is contained in:
Charan Teja Kalla
2024-10-16 21:48:04 +05:30
committed by Treehugger Robot
parent 1a3bbc1910
commit e697302b05

View File

@@ -3237,6 +3237,7 @@ DEFINE_STATIC_KEY_ARRAY_TRUE(lru_gen_caps, NR_LRU_GEN_CAPS);
DEFINE_STATIC_KEY_ARRAY_FALSE(lru_gen_caps, NR_LRU_GEN_CAPS);
#define get_cap(cap) static_branch_unlikely(&lru_gen_caps[cap])
#endif
EXPORT_SYMBOL_GPL(lru_gen_caps);
/******************************************************************************
* shorthand helpers