mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
Revert "interconnect: Teach lockdep about icc_bw_lock order"
This reverts commit0db211ec0fwhich is commit1361917030upstream. It is reported to cause boot crashes in Android systems, so revert it from the stable trees for now. Cc: Rob Clark <robdclark@chromium.org> Cc: Georgi Djakov <djakov@kernel.org> Cc: Guenter Roeck <linux@roeck-us.net> Cc: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -1146,21 +1146,13 @@ void icc_sync_state(struct device *dev)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mutex_unlock(&icc_bw_lock);
|
|
||||||
mutex_unlock(&icc_lock);
|
mutex_unlock(&icc_lock);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(icc_sync_state);
|
EXPORT_SYMBOL_GPL(icc_sync_state);
|
||||||
|
|
||||||
static int __init icc_init(void)
|
static int __init icc_init(void)
|
||||||
{
|
{
|
||||||
struct device_node *root;
|
struct device_node *root = of_find_node_by_path("/");
|
||||||
|
|
||||||
/* 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("/");
|
|
||||||
|
|
||||||
providers_count = of_count_icc_providers(root);
|
providers_count = of_count_icc_providers(root);
|
||||||
of_node_put(root);
|
of_node_put(root);
|
||||||
|
|||||||
Reference in New Issue
Block a user