patching upstream to 3.0.17

Signed-off-by: Bryan Smith <zarboz@gmail.com>

Signed-off-by: Bryan Smith <zarboz@gmail.com>
Fixing compile error

Signed-off-by: Bryan Smith <zarboz@gmail.com>
increasing readahead

Signed-off-by: Bryan Smith <zarboz@gmail.com>
patching to 3.4.18

Signed-off-by: Bryan Smith <zarboz@gmail.com>
fixing up pocket detection, long press l2w, and s2w/dt2w bugs

Signed-off-by: Bryan Smith <zarboz@gmail.com>
Fixed HTC onmode charging
ARM: proc: Add Krait proc info

Signed-off-by: Bryan Smith <zarboz@gmail.com>
Initialize cpufreq driver early at boot
Always update frequency limits when core is online
Fix null pointer dereference
Expose kblock_schedule_delayed_work()
Added graphite optimizations
Add notifier to force flush outstanding data
Enable HAVE_EFFICIENT_UNALIGNED_ACCESS in all Krait cores.
Add binder buffers to kmemleak
Modify return values to avoid extra calls

Signed-off-by: Bryan Smith <zarboz@gmail.com>
cleaning pick

Signed-off-by: Bryan Smith <zarboz@gmail.com>
Support asynchronous compaction in lowmemorykiller.
Don't read inode->i_blkbits multiple times
Use generic atomic_dec-based implementation for ARMv6+