mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 03:59:40 +02: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 implementation of Qualcomm's proprietary load tracking scheme, WALT via stated vendor module. Bug: 241223356 Change-Id: I86a3f5cb6cc7b97d87bd2db3e11cb7a8d99d4aef Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
This commit is contained in:
parent
8b49160d23
commit
51ba045c81
|
|
@ -4973,10 +4973,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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user