autosmp: hammerhead fixes, lcd hooks
autosmp: suspend/resume and work fixes and improvements
intelli_plug: Initiate suspend defer time with default value

* Thanks to @Dorimanx for notifying.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
CPU-BOOST: Enable wakeup_boost by default.
Merged Intelli thermal Driver by @faux123 to MSM Thermal! + all my changes.
Intelli Thermal: (intergated to msm_thermal) added new parameters and more.

Thanks Alucard24 for mods.
intelli_thermal_stats and some optimizations.

Dorimanx added:
I have merge intelli thermal as stand alone just for updates.
it's not actually used in my tree, all moved to msm_thermal
Intelli Thermal: Updates by Alucard24

Use schedule_work_on. It works better, phone gains speed.
Use system_power_efficient_wq.
Intelli Thermal: fixed my error, poll_ms must be init! and best 250ms
Intelli Thermal Control: Tuning and corrections to TEMP and controls.

We cant wait 10ms in queue_delayed_work CPU letancy is 0, we must react.

or cpu overheat fast and panic.

now we can go up to 80c and stable.
INTELLI THERMAL: Restore Default delayed_work + other stock code.

now it's stable on high temp. before was reaching 100C and reboot.
INTELLI THERMAL: allow to read psm_temp + vdd_rstr from dtc config.

Set 5c difference for freq limit/release
set min lock speed to 1267200 to allow faster cooling.
Intelli Thermal driver: switch to local CPUFREQ Limit control.

Remove msm_cpufreq_set_freq_limits and register with
CPUFREQ_POLICY_NOTIFIER to get immediate update on cpu frequencies
as long as a cpufreq_update_policy is called. Ensure that when
cpufreq_update_policy is called, cpu will not be hotplugged by
calling get_online_cpus().

Change-Id: I802d51ad1c352a19d2e456f9f6a89f8d5b89aad8
Signed-off-by: Jennifer Liu <chihning@codeaurora.org>
Intelli Thermal Control by faux123, independent freq limit control!

*Fixes for schedule_delayed_work, it's bad to start as 0 delay.
*Tuned max temp and cooldown range.
*Replaced __cpuinit with __ref
*Added debug switch on/off
*Fixed no mutex locks when was needed.

Merged updates from Myfluxi source.
Default Intelli Thermal (merged with original) fixed derps + work delay.
msm: thermal: Limit maximum cpu frequency instantly.

If current policy's max cpu frequency is below the maximum
possible frequency, instead of wasting time cycling through
indices, we are now limiting maximum cpu frequency instantly.
However, if limits are changed manually during throttling,
the logic may be confused.

Also, cleanup some kmsg info spam in the process.
enable intelli_thermal_stats
lower temps a bit
Update version to 75u
mm, oom: change type of oom_score_adj to short

The maximum oom_score_adj is 1000 and the minimum oom_score_adj is -1000,
so this range can be represented by the signed short type with no
functional change.  The extra space this frees up in struct signal_struct
will be used for per-thread oom kill flags in the next patch.

** Modified to merge with Chaos Kernel

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: Michal Hocko <mhocko@suse.cz>
Cc: Anton Vorontsov <anton.vorontsov@linaro.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
staging: android: LMK: Skip killing core apps

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>