3.0.58
cpufreq: interactive: fix race on governor start/stop

There is race condition when both two cpu do CPUFREQ_GOV_STOP and one cpu
do CPUFREQ_GOV_START soon. The sysfs_remove_group is not done yet on one
cpu, but sysfs_create_group is called on another cpu, which cause governor
start failed and then kernel panic in timer callback because the policy and
cpu mask are all kfree in cpufreq driver.

Replace atomic with mutex to lock the whole START/STOP sequence.

Change-Id: I3762b3d44315ae021b8275aca84f5ea9147cc540
Signed-off-by: Lianwei Wang <a22439@motorola.com>
2.9.5
Some work on SAI
3.0.59
Use default work queue instead of a new one

Fixed the coding style and make it compliant with Linux
2.9.7
More work on SAI
3.0.60
more experiments
2.9.8
Add tunables through sysfs
3.0.61
drivers: android: Restructure code in lowmemorykiller

This patch restructure code for better readability and easier
maintenance.

Also introduces lowmemorykiller.h header file.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Inline function step_update
Use savedefconfig to produce semaphore's defconfig
Add tunables through sysfs
3.0.61
drivers: android: Restructure code in lowmemorykiller

This patch restructure code for better readability and easier
maintenance.

Also introduces lowmemorykiller.h header file.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Inline function step_update