diff options
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index cea2beac7909..3c91f110fc62 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -7912,6 +7912,8 @@ sd_parent_degenerate(struct sched_domain *sd, struct sched_domain *parent) | |||
7912 | 7912 | ||
7913 | static void free_rootdomain(struct root_domain *rd) | 7913 | static void free_rootdomain(struct root_domain *rd) |
7914 | { | 7914 | { |
7915 | synchronize_sched(); | ||
7916 | |||
7915 | cpupri_cleanup(&rd->cpupri); | 7917 | cpupri_cleanup(&rd->cpupri); |
7916 | 7918 | ||
7917 | free_cpumask_var(rd->rto_mask); | 7919 | free_cpumask_var(rd->rto_mask); |