mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
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:
committed by
Treehugger Robot
parent
1a3bbc1910
commit
e697302b05
@@ -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_STATIC_KEY_ARRAY_FALSE(lru_gen_caps, NR_LRU_GEN_CAPS);
|
||||||
#define get_cap(cap) static_branch_unlikely(&lru_gen_caps[cap])
|
#define get_cap(cap) static_branch_unlikely(&lru_gen_caps[cap])
|
||||||
#endif
|
#endif
|
||||||
|
EXPORT_SYMBOL_GPL(lru_gen_caps);
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* shorthand helpers
|
* shorthand helpers
|
||||||
|
|||||||
Reference in New Issue
Block a user