wakelock: use single threaded workqueueus

Avoid the concurrency management that could delay execution if there's
lots of workqueue traffic (and allow the runqueue to run on any CPU).

Lots of workqueue traffic can be generated by setting
ondemand/sampling_rate to 10000.

Change-Id: I55b8a223f4a389b93d49eef0d809eb1efe1790ba

Signed-off-by: Andrea Arcangeli <andrea@cpushare.com>
Revert "Revert "Revert "AndreiLux workaround for vmware mvp."""

This reverts commit 39803cc3f89920453b08964ecf097fd7599bcd1c.
Revert "Revert "Revert "Revert "AndreiLux workaround for vmware mvp.""""

This reverts commit c283c2dcac6805e0602483958930fa702e2411e7.
plat-s5p: fix compiler error for reserve_mem.c

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
drivers: fix compiler error for mfc5x

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
Updated gitignore

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
init: apply SCHED_FIFO to kthreadd

Hotplug (cpu_up) latency currently suffers because the system
must wait for kthreadd to spawn certain kthreads (such as the
migration and workqueue kthreads) and for them to run for
the first time. Setting SCHED_FIFO will cause kthreadd to run
immediately. The newly created kthreads will inherit the scheduler
policy and run immediately also.

The scheduling policy of newly created kthreads is already set
back to SCHED_NORMAL in kthread_create_on_node, so nothing needs
to be done to restore normal scheduling behavior for the kthreads
once spawned.

Change-Id: I236ceb29845cf58ea1ea886fc3210ccaab2dd792
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
Update gitignore
Test script to build using linaro 4.7

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
drivers: fix compile error from gcc 4.7

This fixes the following error which pops out when using gcc 4.7

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
RedPill defconfig update

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
RedPill Ultimate defconfig update

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
updated gitignore

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
Config updates for ultimate and stable

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
Build Script Updates

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
Fix camera on ZKF107 firmware

Change-Id: I5e81c3b4ebb96248a239f0d028ec4252e311f77f
Update buildscript

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
Adjust Busfreq for RedPill Stable

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>
Revert "Adjust Busfreq for RedPill Stable"

This reverts commit 0e3cc87b79f79405bccbeef3e1a617391a41bc4e.
[PATCH] cpufreq: conservative: add hotplug awareness to Conservative governor. 
Its based on load and checks for load & online cores every 5 kernel ticks.

Ported the hotplug algorithm of franciscofranco <franciscofranco.1990@gmail.com> 
from his commit here: c415db242a613e02400d7185b8ef3914b4689eb2

I left the original Conservative untouched at first to see if I could gain the same kind of battery
savings without the standalone hotplug system used on the S2 kernel. My personal tests show
that I could gain up to an extra 12% of screen on time (which is my preferred method of gauging
battery life as keeping the device as a paperweight with everything off is not my idea of maximizing a
smart device).

I ported franciscofranco's hotplug awareness for ondemand to conservative to see if I can still gain even
just 5-7% more if the governor was hotplug aware. 

Signed-off-by: Sar Castillo <sar.castillo@gmail.com>