[1/2] rhine: cpuquiet: initial bringup

Adds also required load average API in scheduler
Make sure you have disabled mpdecision if you use this

requires: https://gerrit.omnirom.org/9118

Change-Id: I622fbc3027df897c380c51befc6da4f5bad39b2e
msm8974: added input mediator

Brain dumb simple 2 level input event chain.
For clients that want input events to appear in a
certain order e.g. cpu hotplugging should get it
before cpufreq so that input boost is on all online
cpus

This is used in load_stats and rq_stats hotplugging
governor and in smartmax cpu governor

This is completely optional and will not influence
"normal" input event handling

Change-Id: I3e3c28cffb640ec0f543eea7994a55bfa4182221
cpufreq: overall_stats: add overall stats for all available cores

this is much more accurate stats tracking than just displaying core 0's
stats from most other kernels

Signed-off-by: faux123 <reioux@gmail.com>

overall_stats: make dual/quad core stats configurable via meunconfig

Signed-off-by: faux123 <reioux@gmail.com>

overall_stats: forward port to kernel 3.4+

by replacing deprecated functions with native add/sub for 64bit data types

Change-Id: I1e17d626bf59b3c0822c9f1088093f848fd2649c
Signed-off-by: faux123 <reioux@gmail.com>
cpuquiet: ifdef inclusion of <linux/earlysuspend.h>
cpuquiet: support for powersuspend driver
cpuquiet: load_stats, rq_stats: change parameters