mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
ANDROID: GKI: vendor code needs __balance_callbacks access
Vendor module code needs to ensure that pushes to the balance callback queue are handled prior to releasing rq locks. Export __balance_callbacks to facilitate this. Bug: 241223356 Change-Id: I86a3f5cb6cc7b97d87bd2db3e11cb7a8d99d4aef Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com> (cherry picked from commit a2f552f49c9084dcc48b2066888d06a324e34b98)
This commit is contained in:
committed by
Treehugger Robot
parent
e2fbc5cc3a
commit
fdaddcab76
@@ -4851,10 +4851,11 @@ static inline struct callback_head *splice_balance_callbacks(struct rq *rq)
|
||||
return __splice_balance_callbacks(rq, true);
|
||||
}
|
||||
|
||||
static void __balance_callbacks(struct rq *rq)
|
||||
void __balance_callbacks(struct rq *rq)
|
||||
{
|
||||
do_balance_callbacks(rq, __splice_balance_callbacks(rq, false));
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__balance_callbacks);
|
||||
|
||||
static inline void balance_callbacks(struct rq *rq, struct callback_head *head)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user