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>
This commit is contained in:
committed by
Todd Kjos
parent
d20aaea59d
commit
a2f552f49c
@@ -52,6 +52,7 @@
|
||||
bio_end_io_acct_remapped
|
||||
bio_start_io_acct
|
||||
bitmap_allocate_region
|
||||
__balance_callbacks
|
||||
__bitmap_and
|
||||
__bitmap_clear
|
||||
bitmap_find_next_zero_area_off
|
||||
|
||||
@@ -4794,10 +4794,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