Revert "interconnect: Teach lockdep about icc_bw_lock order"
This reverts commit0db211ec0f
which is commit 13619170303878e1dae86d9a58b039475c957fcf upstream. It is reported to cause crashes, so revert it for now. Bug: 326555421 Bug: 332643129 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I3dd7744a9b706a959cbed3a793be668147dfcb9a (cherry picked from commitc73814520d
)
This commit is contained in:
parent
f4aadbd0cb
commit
3c16f5df13
@ -1147,21 +1147,13 @@ void icc_sync_state(struct device *dev)
|
||||
}
|
||||
}
|
||||
}
|
||||
mutex_unlock(&icc_bw_lock);
|
||||
mutex_unlock(&icc_lock);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(icc_sync_state);
|
||||
|
||||
static int __init icc_init(void)
|
||||
{
|
||||
struct device_node *root;
|
||||
|
||||
/* Teach lockdep about lock ordering wrt. shrinker: */
|
||||
fs_reclaim_acquire(GFP_KERNEL);
|
||||
might_lock(&icc_bw_lock);
|
||||
fs_reclaim_release(GFP_KERNEL);
|
||||
|
||||
root = of_find_node_by_path("/");
|
||||
struct device_node *root = of_find_node_by_path("/");
|
||||
|
||||
providers_count = of_count_icc_providers(root);
|
||||
of_node_put(root);
|
||||
|
Loading…
Reference in New Issue
Block a user