sched/tune: use a single initialisation function
authorPatrick Bellasi <patrick.bellasi@arm.com>
Fri, 29 Jul 2016 14:19:41 +0000 (15:19 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:29:32 +0000 (14:59 +0530)
commit6effe93fe5df6555ebe2f24390a8402cdc1ab962
tree7e0b2cede0fa491d89b43c5c03a455c9e53913a5
parent877bc05081eb9925290721d32fa0bedcc2e932a1
sched/tune: use a single initialisation function

With the introduction of initialization function required to compute the
energy normalization constants from DTB at boot time, we have now a
late_initcall which is already used by SchedTune.

This patch consolidate within that function the other initialization
bits which was previously deferred to the first CGroup creation.

Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
[jstultz: fwdported to 4.4]
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/sched/tune.c