mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
ANDROID: sched: Export sched_domains_mutex for lockdep
If CONFIG_LOCKDEP is enabled, export sched_domains_mutex as it is indirectly accessed by the macro for_each_domain, and that macro might be used in module code. Bug: 176254015 Signed-off-by: Daniel Mentz <danielmentz@google.com> Change-Id: Ia9f2989de41b2224c63855f2fd129cbeeac4f195 Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
parent
7cfc6861b8
commit
7171a5de98
|
|
@ -7,6 +7,9 @@
|
|||
#include <trace/hooks/sched.h>
|
||||
|
||||
DEFINE_MUTEX(sched_domains_mutex);
|
||||
#ifdef CONFIG_LOCKDEP
|
||||
EXPORT_SYMBOL_GPL(sched_domains_mutex);
|
||||
#endif
|
||||
|
||||
/* Protected by sched_domains_mutex: */
|
||||
static cpumask_var_t sched_domains_tmpmask;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user