sched: backport cpufreq hooks from 4.9-rc4
authorSteve Muckle <smuckle@linaro.org>
Fri, 11 Nov 2016 22:04:43 +0000 (14:04 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 21 Jun 2017 11:04:04 +0000 (16:34 +0530)
commitdee8fa15529f1ce843764d5c1dd2033e2e4154b0
tree60baf460236aa5283850edf02fdd10507144bd6e
parentee13a885b948592ca5cfc6be6467e059f6278a17
sched: backport cpufreq hooks from 4.9-rc4

The scheduler cpufreq hooks are required by the schedutil cpufreq
governor.

Change-Id: Ied6c46262bb33b7e81bbb3d3d2761124e0c676b7
Signed-off-by: Steve Muckle <smuckle@linaro.org>
[trivial cherry-picking fixes]
Signed-off-by: Juri Lelli <juri.lelli@arm.com>
Signed-off-by: Chris Redpath <chris.redpath@arm.com>
include/linux/sched.h
kernel/sched/Makefile
kernel/sched/cpufreq.c [new file with mode: 0644]
kernel/sched/deadline.c
kernel/sched/fair.c
kernel/sched/rt.c
kernel/sched/sched.h