Revert "cpufreq: notify avg load for short sampling_rate"

This reverts commit 4c0f56647ad62cdd4f129b591fb35e1256f25f74.

Change-Id: Iadfd2329f9a53283818ddf7b149073008b079870
ondemand: Add support to consider other cpu load when scaling frequencies

Currently only current cpu load is considered when frequency scaling.
As a side effect of this when scheduler migrates a thread to a slower
core, the execution time increases unexpectedly.

The new algorithm not only considers current cpu load for frequency
scaling, but also takes into account load of other online cpus. The
treshold for this can be controlled using up_threshold_any_cpu_load.
When the up_threshold_any_cpu_load is crossed in any cpu then the
current cpu is set to sync_freq.

Also, when more than one cpu is online a two step ramp-up mechanism
is used. When the up_threshold_multi_core is crossed the cpu is ramped
up to optimal_freq which is less than policy->max and set to a power
friendly value.

Change-Id: I64bed1b142cde1f239e73aa1f78981c78aaf59ce
Signed-off-by: Narayanan Gopalakrishnan <nargop@codeaurora.org>
(cherry picked from commit d3ca78370df00ec7a5b6816321ea1a1a371f2850)

Conflicts:

	drivers/cpufreq/cpufreq_ondemand.c

Change-Id: I2198bb47ca1cfb3c3ed9cb67cdae8ef88c0033c9
Merge "Revert "cpufreq: notify avg load for short sampling_rate"" into cm-10.1
Merge "ondemand: Add support to consider other cpu load when scaling frequencies" into cm-10.1