Revert "drivers: staging: fix function not a declaration warning."

This reverts commit 63f8d1fa51569c163b79e8e7cdca61cab2eea8b6.
Revert "lowmemorykiller: Use asynchronous compaction - from cyanogen"

This reverts commit f4930ee739ffb558c0e2d8aa582bcf06b1c4fd97.
Revert "lowmemorykiller.c: original patch from cyanogen. According to the commit message memory compaction is never invoked on Android because we avoid swap and don't allocate huge pages. This makes sense so on this patch we call the compaction when a process is killed to avoid memory fragmentation."

This reverts commit 0a408c4f54a001787b96b548f6d22c1d7ffa56b8.
block: bfq: fix compiling issue and tune it a little bit. Our HZ is 128 so we want slice_idle to be 0.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
drivers: staging: lowmemorykiller: set minfree and adj values directly into the arrays. Also get rid of some unneeded checks and do some simplification.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
drivers: staging: lowmemorykiller: fix oom values. Previous values would remove most apps on cache and it caused lag everywhere.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
3.0.45
sched: Remove stale power aware scheduling remnants and dysfunctional knobs - http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=8e7fbcbc22c12414bcc9dfdd683637f58fb32759
3.0.46
Add Joe's RCU. Original patch from Joe Korty.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
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>
bcmdhd: Reenable IPv6, disable multicast in suspend

Why do they keep on reenabling that stupid "let dirty
networks tank the battery" feature?

I have yet to see an example of something that disabling
multicast in suspend breaks.

Change-Id: I0dd5114a3d54b6fc789710b5a3bee611c96db2bb
Signed-off-by: Andrew Dodd <atd7@cornell.edu>
sync: dump sync state of fence errors

Change-Id: I297a43aadf83504993040ea875c7f22d988628f1
Signed-off-by: Erik Gilling <konkers@android.com>
sync: protect unlocked access to fence status

Fence status is checked outside of locks in both sync_fence_wait and
sync_fence_poll.  This patch adds propper barrier protection in these
cases to avoid seeing stale status.

Change-Id: I9d8b6ce6accb415e797df58068a1ccd54e6be445
Signed-off-by: Erik Gilling <konkers@android.com>
sync: update new fence status with sync_fence_signal_pt

If a fence's pt is signaled before sync_fence_create is called, the fence
will never transition into the signaled state.  This also address a tiny
race if a merged fence's pt after sync_fence_get_status checks it's status
and before fence->status is updated.

Change-Id: Ic8e292a323db26c6f04cb4757d920278b3125ff6
Signed-off-by: Erik Gilling <konkers@android.com>
sync: use proper barriers when waiting indefinitely

The previous fix only addressed waiting with a timeout.

Change-Id: I8ad735d2d0dfdd53592904e8a54f5689cb5eaa5e
Signed-off-by: Erik Gilling <konkers@android.com>
sync: refactor sync debug printing

Move driver callbacks to fill strings instead of using seq_files.  This
will allow those values to be used in a future tracepoint patch.

Change-Id: I9b706343e35b11124141fe520e520514a32003d2
Signed-off-by: Erik Gilling <konkers@android.com>
sw_sync: convert to new value_str debug ops

Change-Id: I9bad0cac1198043e04637641feb8112e2e7a9d11
Signed-off-by: Erik Gilling <konkers@android.com>
sync: add tracepoint support

Change-Id: I181326db4247009161557e45444c9b3548b83d25
Signed-off-by: Erik Gilling <konkers@android.com>
export.h: comment struct kernel_symbol because its being re-defined and the compiler stops.