Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux...
[firefly-linux-kernel-4.4.55.git] / kernel / sched / tune.c
index 68a24a044b0a4f66cf91ee446608934e17cd3f41..079b18802f176c9b852b6613c804cc10daad7aad 100644 (file)
@@ -725,6 +725,7 @@ schedtune_init_cgroups(void)
        for_each_possible_cpu(cpu) {
                bg = &per_cpu(cpu_boost_groups, cpu);
                memset(bg, 0, sizeof(struct boost_groups));
+               raw_spin_lock_init(&bg->lock);
        }
 
        pr_info("schedtune: configured to support %d boost groups\n",