mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
sched: fix compile issue
Root_task_group is acessed outside CONFIG_SCHED_CGROUP and it results in compilation error.so add macro check here to avoid compile issue. Change-Id: Ic3ce1962236f8114f8b03aca8ebd1c8fbd42a076 Signed-off-by: Biao Long <blong@codeaurora.org>
This commit is contained in:
parent
c19cc3d79e
commit
cebe8679d5
1 changed files with 2 additions and 0 deletions
|
|
@ -7049,7 +7049,9 @@ void __init sched_init(void)
|
|||
|
||||
init_uclamp();
|
||||
|
||||
#ifdef CONFIG_CGROUP_SCHED
|
||||
walt_init_sched_boost(&root_task_group);
|
||||
#endif
|
||||
|
||||
scheduler_running = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue